View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Restricting Macros

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