ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Specify what worksheet to open first (https://www.excelbanter.com/excel-worksheet-functions/127160-specify-what-worksheet-open-first.html)

Michele

Specify what worksheet to open first
 
Hi,
Does anyone know how I can control what worksheet to open first when
starting excel? I have several worksheets in a workbook but every time I
close out of it and reopen it, it opens with the same worksheet. I want to
specify what worksheet to open first.

Bernie Deitrick

Specify what worksheet to open first
 
Michele,

You can use the workbook's open event:

Private Sub Workbook_Open()
ThisWorkbook.Worksheets("Sheet1").Select
End Sub

Of course, change the sheet name to whatever is appropriate. Place the code in the codemodule of
the ThisWorkbook object.

HTH,
Bernie
MS Excel MVP


"Michele" wrote in message
...
Hi,
Does anyone know how I can control what worksheet to open first when
starting excel? I have several worksheets in a workbook but every time I
close out of it and reopen it, it opens with the same worksheet. I want to
specify what worksheet to open first.





All times are GMT +1. The time now is 08:37 AM.

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