View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
PhilBerkhof PhilBerkhof is offline
external usenet poster
 
Posts: 1
Default How do I turn off macros when programmatically opening a workbook.

Hi,
I'm trying to turn off a macro that runs when I open a workbook
programmatically. I'm not sure how to do this. I want to do
(programmatically) the equivalent of pressing the 'Disable macros' button
when I open this program. I have workarounds if this doesn't work, but would
like to do something quick and easy!

Thanks!
Phil