Solved

VBAProject Password

Posted on 2011-02-16
3
492 Views
Last Modified: 2012-05-11
I have a problem with a worksheet that I have.
I was going to set a password on the code but I don’t think I got round to it…..HOWEVER
Although I can view the code, edit it, resave the workbook etc etc etc , I cant now set a password to protect the code.
It only comes up with the VBAProject Pasword box as you would normally see when you try to view code that is locked.

Any ideas please?

Thanks
0
Comment
Question by:GordonMasson
3 Comments
 
LVL 6

Expert Comment

by:FernandoFernandes
ID: 34908497
1) did you try clicking OK as if the password was like, empty...???
2) please upload the file, maybe we can figure out what's wrong...
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 34914599
It is possible to set a password on the code without locking the project for viewing and it sounds as though that is what you have done. I suggest entering whatever password you were thinking of using before hand - perhaps you did enter it but thought that not checking the Lock project for viewing box would mean the password wasn't applied.
0
 

Author Closing Comment

by:GordonMasson
ID: 34914651
Hi rorya

Yes that it... ot it to open now... almost forgot the password i was going to use but i got there in the end.
Thanks again for your help.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now