AmericanSeiko
New Member
- Joined
- Sep 16, 2013
- Messages
- 21
Password protected VBA module causes Excel to crash on debugs. Macros work fine if I open VBE and enter my password.
I'm using Range.("This range does not exist").Select to force a debug.
If I run my macro without entering my module password, the debug window appears and Excel crashes.
If I run my macro after entering my module password, the VBE window opens and it debugs normally.
I'm 90% sure the password protection is the problem. I want to keep my code password protected, but I don't want my project to crash on an error. Any ideas on how to fix/workaround this?
Thanks everyone!
I'm using Range.("This range does not exist").Select to force a debug.
If I run my macro without entering my module password, the debug window appears and Excel crashes.
If I run my macro after entering my module password, the VBE window opens and it debugs normally.
I'm 90% sure the password protection is the problem. I want to keep my code password protected, but I don't want my project to crash on an error. Any ideas on how to fix/workaround this?
Thanks everyone!