exceluser66
New Member
- Joined
- Nov 11, 2016
- Messages
- 4
I have a macro enabled file that unhides worksheets when a password is entered on the first sheet. Works like a charm. The problem is on closing. On close, the user has the option of saving, not saving or continuing (yes/no/cancel). I want to hide all the sheets except the first one when the file is closed regardless of which option is chosen. In other words, if the user chooses to not save and close, I still want the sheets to hide and go back to the first worksheet. I am using the Before Close event. Clicking No does not save the file but also does not hide the sheets. is this possible?
I am not a coder by trade; self taught VBA using this forum! thanks in advance.
I am not a coder by trade; self taught VBA using this forum! thanks in advance.