Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lock macros in Excel

Status
Not open for further replies.

jenwalton

Technical User
Oct 25, 2001
7
US
Is it possible to lock macros in Excel - I have one saved in a workbook and want to apply a password (not to the whole file, just the macro) in order for another user to view or especially, edit, the macro.

Any help or advice you could give would be much appreciated.

Thanks!!
 
In the VB editor, right-click on your project in the project explorer window, and choose "VBA Project Properties". On the "Protection" tab, you can set a password for viewing (and therefore, editing) the VBA code.
Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top