I appologize if this is not the place to ask this, however, I could not find an Excel Programming specific MSDN forum.
**PLEASE DO NOT REFER ME TO THE OFFICE DISCUSSION GROUPS**
=> I have been there and done that and I'm looking here now for help <=
There seems to be some debate on whether or not a person can lock/unlock a VBAProject in Excel. I've been told you can't. I've been told it can be done using SendKeys which is supposedly problematic... I am not one to believe that something, especially with computers, simply can't be done. Sooo...
I have an extensive Excel Userform-based estimating program I've been writing for the last 7 months. I am now to a point where I'm about to release it and I want to keep the guts protected. However, when the final form is copied into the new workbook, my deletevbacode macro won't run because the protection of the VBCode carries over.
So here's my question(s):
- Is there a way to programmatically lock/unlock the VBAProject
- If not, then how can I keep the project protection from carrying over into the new workbook
- If neither of the above are a possibility - I'm open for suggestions...
Thanks in advance!