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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Protecting code of a macro ?? 2

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I finish an application in excel 2000 that uses some macros with Visual Basic Code.
, I would like to protect my code that i developed in Visual Basic.

Can anyone help me!!
 
From the VBA editor, (Alt-F11), select you project in the Project Explorer, goto Tools, VBAProject Properties, select the Protection Tab, and then check Lock project for Viewing, enter a password (twice), Click OK, close the workbook and when you re-open it you should need the password to view the code.

A.C.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top