ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   disable Warning Message (https://www.excelbanter.com/excel-programming/294519-disable-warning-message.html)

larry

disable Warning Message
 
I want to be able to delete a worksheet without getting
the built-in warning message every time on Excel 2000 SP2.
Is there a way to do this? Thanks

Bob Phillips[_6_]

disable Warning Message
 

Application.DisplayAlerts = False

' your code

Application.DisplayAlerts = True

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"larry" wrote in message
...
I want to be able to delete a worksheet without getting
the built-in warning message every time on Excel 2000 SP2.
Is there a way to do this? Thanks





All times are GMT +1. The time now is 12:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com