LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Suppressing the Disable/Enable Macros Message Box Programmatically

All,

Windows XP, Excel 2002

I have some VBA code which opens specified workbooks and loops through all
code modules, exporting each one.

Problem: When some of the workbooks are opened, I get a message complaining
about missing references. I want to suppress this message and just continue
with exporting the modules.

I have tried using "Application.AutomationSecurity =
msoAutomationSecurityForceDisable", which does the trick, but it also
instantly terminates my code as well. "Application.DisplayAlerts = False"
also does nothing to suppress this message.

Is there a way to programmatically suppress these messages?

Thanks,
Mark D.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
disable 'enable macros' pop-up message on all computers Adam Excel Discussion (Misc queries) 5 April 19th 08 05:54 PM
Disable/Enable Macros Message box in Excel2007 Vignesh Excel Discussion (Misc queries) 0 February 6th 08 09:00 AM
Bypassing ENABLE/DISABLE MACROS message Excel4u Excel Discussion (Misc queries) 1 December 7th 05 04:05 PM
Suppressing Enable Macros QUestion MWE[_40_] Excel Programming 6 July 21st 04 10:20 AM
Suppress the Disable Macros / Enable Macros Dialog Shoji Karai Excel Programming 5 September 24th 03 03:10 AM


All times are GMT +1. The time now is 10:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"