Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that closes a worksheet
If it's a worksheet, and not a workbook, perhaps... Sub Demo() Application.DisplayAlerts = False Worksheets(1).Delete Application.DisplayAlerts = True End Sub -- HTH :) Dana DeLouis Windows XP & Office 2003 "Brian" wrote in message ... I have a macro that closes a worksheet in excel and I want to close it and not save (usually a box appears asking if I want to save before exiting and I want to say no in the macro) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Exit a worksheet with out saving changes | Excel Discussion (Misc queries) | |||
Exit with out saving | Excel Programming | |||
Exit via macro only? | Excel Discussion (Misc queries) | |||
on exit macro | Excel Discussion (Misc queries) | |||
Saving Procdb.xla on exit from Excel | Excel Programming |