Solved

protect vba

Posted on 2011-02-15
3
287 Views
Last Modified: 2012-05-11
Hi,

With EEs help, my vba script is working.  I need to release this to my coworks to use.  Since there will be more than one person, I want to lock the code.  I have two questions:
1. Once the password is applied, the button is disabled, why is that?
2. Where can I enter password to unlock it?  thx
0
Comment
Question by:mcrmg
  • 2
3 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 34897473
Which button is disabled?

0
 

Author Comment

by:mcrmg
ID: 34897488
I have a button on the sheet1 that trigger a function..thx
0
 
LVL 77

Accepted Solution

by:
peter57r earned 125 total points
ID: 34897586
Can't be anything to do with the password.

Are you sure you have macros enabled or are running in a trusted location?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
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…
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…

830 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