Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 542
Default Silencing Excel popup messages

In the process of running a particular macro I need to delete a worksheet in
the workbook so that it can be replaced. However, when doing this a popup
message comes up asking if I'm sure I want to delete the page as there might
be important information on it. Consequently it stops the macro until OK is
pressed and is a hassle for my users. Is there a snippet I can add into my
macro so this doesn't happen?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Silencing Excel popup messages


application.displayalerts = false

should do it

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Silencing Excel popup messages

Application.DisplayAlerts = False

"James" wrote:

In the process of running a particular macro I need to delete a worksheet in
the workbook so that it can be replaced. However, when doing this a popup
message comes up asking if I'm sure I want to delete the page as there might
be important information on it. Consequently it stops the macro until OK is
pressed and is a hassle for my users. Is there a snippet I can add into my
macro so this doesn't happen?

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 542
Default Silencing Excel popup messages

Thanks, worked great!

"ruff" wrote:


application.displayalerts = false

should do it


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
Custom Messages in Excel Mirandah Excel Discussion (Misc queries) 3 September 28th 09 06:12 PM
Excel POPUP [email protected] Excel Worksheet Functions 0 March 26th 08 12:02 PM
messages from excel -- to avoid andrei.aksenov@ Excel Programming 1 July 21st 05 01:16 PM
Popup in excel DianeandChipps Excel Discussion (Misc queries) 7 December 4th 04 03:25 PM
Excel messages Adhavan Excel Programming 2 December 15th 03 03:09 PM


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