Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Insert the following command before the delete
Application.DisplayAlerts = False Then at the end Application.DisplayAlerts = True Although display alerts comes back on automatically I always include the line to turn it back on. Who know, MS might decide some day that you need to do it, and if that happens my code will already be up to date. -- Kevin Backmann "Jim K." wrote: using VBA how can I delete a worksheet without having the warning message popup "Data may exist in the sheet(s) ..."? I'm using Sheets("Sheet1").Select ActiveWindow.SelectedSheets.Delete |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Warning Message | Excel Worksheet Functions | |||
Warning Message | Excel Discussion (Misc queries) | |||
Warning Message | Excel Worksheet Functions | |||
How to I get a warning message box | Excel Worksheet Functions | |||
What is the VBA code to delete a sheet without warning message? | Excel Discussion (Misc queries) |