VBA password

sitelbanat

Board Regular
Joined
Oct 17, 2005
Messages
152
How do I add a password to VBA, so no one would be able to change the macro password?
 

Some videos you may like

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Datsmart

Well-known Member
Joined
Jun 19, 2003
Messages
7,985
From VBA Editor;
Click Tools, VBA Properties...
Click Protection Tab

Make selections there.
 

sitelbanat

Board Regular
Joined
Oct 17, 2005
Messages
152
How does this protect? I am trying to protect the macro's so no one would be able to change or view any of the macros.
 

Datsmart

Well-known Member
Joined
Jun 19, 2003
Messages
7,985
Save, close, then reopen the workbook to get results.
 

Zack Barresse

MrExcel MVP
Joined
Dec 9, 2003
Messages
10,881
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
  2. Mobile
  3. Web
And no, this isn't by any means a secure environment.
 

Watch MrExcel Video

Forum statistics

Threads
1,119,002
Messages
5,575,501
Members
412,670
Latest member
Khin Zaw Htwe
Top