manually run macro's

B

bernd

Hello,

I've a workbook which I want to protect. I protected the sheet etc
already. But it is still possible to run macro's manually trough the
menu bar.Tool>Macro>macros

Can this be turned of when opening the workbook?

Thanks in advance.

Bernd
 
G

Gary Keramidas

just name it private and it won't show in the list.
for example:

Private Sub test()
 
B

Bob Phillips

or add

Option Private Module

to the start of the module

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top