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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
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,215,836
Messages
6,127,180
Members
449,368
Latest member
JayHo

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