View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 279
Default Restricting Macros

This fixed the problem; thank you.

"Bob Phillips" wrote:

Add this to the module at the start

Option Private Module

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ed" wrote in message
...
I have a program that uses VBA modules and macros. I've password

protected
the VBA. How do I restrict the running of the macros from the Tools,

Macros
menu? Edit and Delete are restricted but not Run. Thank you.
--
Ed