Always open workbook to same sheet ...

TamsinL

New Member
Joined
Oct 5, 2006
Messages
10
Hi there,

I am creating tool for inputting data on to Excel using a Userform. My issue is that I have a worksheet that is my menu, with various buttons to activate the userform, create report or view the data and I would like this to always be the sheet that is shown when the tool opens. Currently, whichever sheet you save and close on is the one that shows when you re-open the file. How do I get my menu to show every time?

Thanks very much.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Private Sub workbook_open()

Sheets("Sheet1").Select

End Sub

this will open the sheet you need if placed in the This Workbook area of the VBA window. you will have to change the Sheet1 name to match your sheet title

hope this makes sense

Stu
 
Upvote 0
Thanks Stu, I knew it would be something like this but wasn't sure of the exact code and where to put it. And thanks very much for the quick reply. I have only just discovered this site and I think I will be coming back!

Cheers!
 
Upvote 0

Forum statistics

Threads
1,214,998
Messages
6,122,643
Members
449,093
Latest member
Ahmad123098

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