Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Respond to Excel message box from macro

I open and close Excel 2003 workbooks from within an Excel 2003 Ver 11 SP3
macro. I sometimes change the files but never want to save my changes.

What statements can I inlude in my macro code to:
1. Respond "Disable Macros" to the "Security Warning" message box that pops
up when I open the file and it contains macros?

2. Respond "No" to the "Do you want to save the changes you made to ..."
message box when I close the file?

Thanks in advance for any suggestions.

John

Reply
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
Respond to Excel message box from macro FSt1 Excel Programming 1 February 28th 09 09:19 AM
respond to message box Avecina Excel Programming 4 August 11th 06 02:34 PM
user input into active excel macro- prompt - respond -insert-cont Richard Duke Excel Programming 1 February 18th 06 02:44 PM
Automatically respond to message box appearing within a VBA macro Daniel75 Excel Programming 3 February 25th 05 06:15 PM
macro to respond to clipboard prompt? gary Excel Programming 4 September 15th 03 03:59 AM


All times are GMT +1. The time now is 05:40 AM.

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"