restricting access to macros themselves?

MRA

New Member
Joined
Jun 27, 2008
Messages
36
Hey guys,
I have sensitive macros and data, and I'm looking for a way to restrict access to code.
I'd like have three levels of protection if possible; one to restrict access entirely, one with read-only access, and one with read and write privileges.

I'm sorry if this is a simplistic question, but I'm brand new to VBA and from what I've seen, most people are far more interested in restricting access to worksheets than the macros themselves.

Thanks a bunch guys,
MRA
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Well, you can do some of that...

While in the VBA Window, select tools, and go to the VBA Project Properties...from here you can Lock the code from prying eyes and password protect your project.
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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
Back
Top