Protecting All Workbook and Macro from users

Bowdlerb

New Member
Joined
Mar 6, 2002
Messages
11
I have a workbook with 10 worksheets, other than one, all the rest are hidden. They will unhide by macros as required.
I have protected the individual worksheets, the VB Editor and the Workbook.
I now find that access can still be obtained to the macro names via the Tools/Macro/Macros.. option on the toolbar, although only the "run" and "cancel" options are available. This could still allow a user to select the macro and run it, therefore opening worksheets which I dont want any unauthorised user to know about.

I suppose I could create a new toolbar without the Tools option but is there any other simplier way to avoid the above?

Barrie Bowdler
:rolleyes:
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hello,

Why not have a PASSWORD entry at the start of each macro, if the PASSWORD is not correct, then MACRO is the exited?

Is this possible?
 
Upvote 0
Instead of Sub Macro1() try Private Sub Macro1(), this should hide the macro from the macro list.
 
Upvote 0

Forum statistics

Threads
1,215,464
Messages
6,124,967
Members
449,200
Latest member
Jamil ahmed

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