VBA Project Properties

macro_panic

New Member
Joined
Mar 17, 2002
Messages
47
morning all - i took mudface's fantastic advice about using vba project properties > protection to password protect my vba, but it is so secure that now i don't know how to get back into the macros which don't run off buttons (e.g. auto-open and auto-close)! i am using alt-f8 to display a list of macros, btw. help! thanks in advance

m_p
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

macro_panic

New Member
Joined
Mar 17, 2002
Messages
47
panic over! i've solved my own problem, but i was wondering if anyone knew a line of code that i could slip into my auto-open macro which would password protect my vba project. i use:
"thisworkbook.protect "mypassword", structure:=true, windows:=false" to password protect the workbook and was wodnering if there was a similar line for vba project protection?

thanks, m_p
 

Forum statistics

Threads
1,143,640
Messages
5,719,987
Members
422,257
Latest member
Calion

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top