[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

VBAProject Password

Posted on 2011-02-16
3
Medium Priority
?
530 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

825 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