I have an excel file with VBA macro that starts when the Workbook is opening by user.
One of the users added Protection Login password to this file, and now the Workbook_open() doesn’t react anymore.
It is excel-2003
Any Ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Seeing the full code as per Reafidy’s comment would help
It sounds like the user is still running code if they have looked to modify it. But it is possible that this user (or other users in the future) may chose to disable macros, or corporate policy may automatically disable macros
If it’s user choice then a standard technique is to hide all the worksheets except an splashscreen informing the user that they need to enable macros. If they have enabled macros then all the
VeryHidden sheets (cannot be revealed by the standard menu) are made visible and the splashscreen is hidden when the workbook opensYou could combine
Brad’s splash screen code with your existing
Opencode