Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Suppressing questions in Excel Macros

How does one suppress dialog that appears when executing a macro in Excel
2003. For example, a question such as "Do You Want To Save...". I have
tried statements such as Application.CommandBar.... and Workbook.Command... ,
but they don't work.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 489
Default Suppressing questions in Excel Macros

Try this. Hope this helps! If so, let me know, click "YES" below.

Application.DisplayAlerts = False

' your code here


Application.DisplayAlerts = True
--
Cheers,
Ryan


"danfw" wrote:

How does one suppress dialog that appears when executing a macro in Excel
2003. For example, a question such as "Do You Want To Save...". I have
tried statements such as Application.CommandBar.... and Workbook.Command... ,
but they don't work.

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
Suppressing the Disable/Enable Macros Message Box Programmatically Mark Dev[_2_] Excel Programming 1 December 14th 06 08:21 PM
Two questions, how do I disable ver 4 macros and how do I make radial buttons like this? Kelvin Beaton Excel Discussion (Misc queries) 4 October 4th 06 06:08 PM
Two questions, how do I disable ver 4 macros and how do I make radial buttons like this? Kelvin Beaton Excel Worksheet Functions 4 October 4th 06 06:08 PM
New Questions about Recording Macros Greegan Excel Worksheet Functions 2 December 8th 04 02:08 AM
Suppressing Enable Macros QUestion MWE[_40_] Excel Programming 6 July 21st 04 10:20 AM


All times are GMT +1. The time now is 01:24 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"