?
Solved

VBAProject Password

Posted on 2011-02-16
3
Medium Priority
?
505 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
[X]
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
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

770 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