Solved

How do i set password protected when openning excel 2007 Macro file?

Posted on 2011-09-13
2
254 Views
Last Modified: 2012-08-13
i would like that every user that opening excel 2007 file it will ask him to insert password, how do i do that?

Thanks
0
Comment
Question by:gvilbis
[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
  • 2
2 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 500 total points
ID: 36532733
Hello,

in the File > Save dialog, click the Tools dropdown > General Options.

You can enter a password here. There are two kinds of workbook password, one you need to enter to open the file and another one you can set up for people to edit the file.

You can also use password protection on the VBA project. That dialog is in the VBE, though.

cheers, teylyn
0
 
LVL 50
ID: 36532742
If you want to protect the VBA code with a password, open the VBE, right click on the project and select Properties. You can set a password on the Protection tab.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

691 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