Open Workbook to specific sheet without using VBA

jars121

New Member
Joined
Jan 20, 2013
Messages
21
Hi everyone,

I've got an annoying issue. I've got a script that hides all sheets apart from a 'Welcome' page, which works nicely. However, when a user opens the workbook for the first time, they are prompted with the 'Enable Macros' warning. As the macros haven't yet been enabled, the VB controlled 'Welcome' page isn't displayed, it's the page that was last opened. As each user only has access to their own page (governed by username/password on the Welcome page), it's not ideal that a user can open up workbook and find themselves on someone else's page.

Is it possible to specify which sheet to open on without use macros? A previous revision of my code did exactly that, but due to other reasons I had to modify it, and now it opens on the previously opened page.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
I think I just answered my own question, although it may not be the best solution. As part of my Workbook.BeforeClose() sub, I've specified for the Welcome sheet to be selected, and for all other sheets to be hidden prior to the final save, once the user has closed the program. It's not glamourous, but it works!
 
Upvote 0

Forum statistics

Threads
1,203,250
Messages
6,054,383
Members
444,721
Latest member
BAFRA77

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