Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-09-13
2
Medium Priority
?
261 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
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 Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
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…

610 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