I have a worksheet that needs a password before it can be viewed, my problem is: if while I'm viewing the worksheet I save the workbook and close the file with that worksheet still open, the next time I open the file it opens on that sheet. I don't want that. I've put Sheets("week 1").activate in the before_save, before_close,open,deactivate,window_activate,and I'm sure some others (these have been in the workbook events). The before_save worked as I wanted but if the user wants to just save the work on that page and continue working on that page they will have to go back, re-enter the password before continuing, the open event didn't work because I have a splash screen that loads also and that slowed the week 1 sheet from activating until after the splash screen was done(10 seconds, but can still read what I don't want them to), in the open event I have the code:
Load UserForm1
Sheets("week 1").Activate
UserForm1.Show
can I speed that code up? All I want is if the user does end up saving and closing the workbook while still on the hidden worksheet, the next time the workbook is opened it will open on sheets("Week 1"). Any ideas?
Load UserForm1
Sheets("week 1").Activate
UserForm1.Show
can I speed that code up? All I want is if the user does end up saving and closing the workbook while still on the hidden worksheet, the next time the workbook is opened it will open on sheets("Week 1"). Any ideas?