Steven Cohen
New Member
- Joined
- Jul 6, 2016
- Messages
- 26
Hi All
To prevent this problem from happening always remember to password protect your code!
Go to:
Alt+F11
Tools
VBA Project - Project Properties
Protection
tick Lock project for viewing
insert a Password
After sitting with a situation where I couldn't find an answer for on any forums (maybe my search was not accurate enough) I finally found the answer to my problem.
The problem presented itself on one of my projects that someone else was using and they couldn't give me enough information as to what the problem was. Every time the project was opening, it was giving the error "Invalid Outside Procedure"
It turns out someone managed to open the code and accidentally typed in some random numbers and letters into the area above one of the subs and it prevented the entire project from running correctly.
I have since learned from my mistake of not protecting my code and I just wanted to share this with everyone who might have this issue along the line.
To prevent this problem from happening always remember to password protect your code!
Go to:
Alt+F11
Tools
VBA Project - Project Properties
Protection
tick Lock project for viewing
insert a Password
After sitting with a situation where I couldn't find an answer for on any forums (maybe my search was not accurate enough) I finally found the answer to my problem.
The problem presented itself on one of my projects that someone else was using and they couldn't give me enough information as to what the problem was. Every time the project was opening, it was giving the error "Invalid Outside Procedure"
It turns out someone managed to open the code and accidentally typed in some random numbers and letters into the area above one of the subs and it prevented the entire project from running correctly.
I have since learned from my mistake of not protecting my code and I just wanted to share this with everyone who might have this issue along the line.