Solved

VBAProject Password

Posted on 2011-02-16
3
494 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

948 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

21 Experts available now in Live!

Get 1:1 Help Now