L L.Peter Mar 11, 2004 #1 Dear Group, How to tell excel not to ask when I delete a worksheet? TIA Peter
D dave Mar 11, 2004 #2 Hi Peter Application.DisplayAlerts = False Sheet1.Delete Application.DisplayAlerts = True ***** Posted via: http://www.ozgrid.com Excel Templates, Training & Add-ins. Free Excel Forum http://www.ozgrid.com/forum *****
Hi Peter Application.DisplayAlerts = False Sheet1.Delete Application.DisplayAlerts = True ***** Posted via: http://www.ozgrid.com Excel Templates, Training & Add-ins. Free Excel Forum http://www.ozgrid.com/forum *****
S Sipen Yu Mar 15, 2004 #4 ' To disable the warning application.DisplayAlerts = False 'To Delete the worksheet ActiveWindow.SelectedSheets.Delete 'To enable the warning systems back application.DisplayAlerts = True
' To disable the warning application.DisplayAlerts = False 'To Delete the worksheet ActiveWindow.SelectedSheets.Delete 'To enable the warning systems back application.DisplayAlerts = True