Set a worksheet to open

BarrettM

Board Regular
Joined
Mar 13, 2002
Messages
113
How can I set a specific worksheet to open when I open a workbook?

It always opens with whatever the last sheet was that I looked at.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
In the Workbook area, you need something like...

Private Sub Workbook_Open()
Sheets("yoursheetname").Select
End Sub

Rgds
AJ
 
Upvote 0
Put this code (modify for your sheet name) in the "ThisWorkbook" section in excel VB:

Private Sub Workbook_Open()
Sheets("Sheet1").Activate
End Sub
 
Upvote 0
Is there a command line for opening specific worksheets in a workbook when opening excel. You can specify in icon properties a workbook to open. Can you also tell excel which worksheet of the workbook to open as well?
 
Upvote 0

Forum statistics

Threads
1,214,429
Messages
6,119,424
Members
448,896
Latest member
MadMarty

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top