Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

VBAProject Password

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

792 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