Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
none
 
Posts: n/a
Default How to get rid of pop-up mesg box?

I've got a macro that deletes all sheets but one. I would like to
bypass the pop-up mesg box confirming the requested deletion.

Any help is appreciated.

Thanks,
Mike
  #2   Report Post  
JMay
 
Posts: n/a
Default

From Help:
Example
This example closes the workbook Book1.xls and doesn't prompt the user to
save changes. Any changes to Book1.xls aren't saved.

Application.DisplayAlerts = False
Workbooks("BOOK1.XLS").Close
Application.DisplayAlerts = True

HTH

"none" wrote in message ...
I've got a macro that deletes all sheets but one. I would like to
bypass the pop-up mesg box confirming the requested deletion.

Any help is appreciated.

Thanks,
Mike



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



All times are GMT +1. The time now is 06:45 PM.

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

About Us

"It's about Microsoft Excel"