ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Ms Excel coursework (https://www.excelbanter.com/excel-worksheet-functions/62994-ms-excel-coursework.html)

aisha

Ms Excel coursework
 
how can I get MS Excel to open and display a certain worksheet as default
rather than automatically opening on the last worksheet the user saved the
workbook

Bob Phillips

Ms Excel coursework
 
Private Sub Workbook_Open()
worksheets("Sheet1").activate
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code

and read up on evenst at http://www.cpearson.com/excel/events.htm

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"aisha" wrote in message
...
how can I get MS Excel to open and display a certain worksheet as default
rather than automatically opening on the last worksheet the user saved the
workbook





All times are GMT +1. The time now is 03:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com