Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How can I close a worksheet with a macro or code.
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use this Sanaullah
ThisWorkbook.Close False ' close the file without saving ThisWorkbook.Close True ' save and close the file -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "sanaullah" wrote in message ... How can I close a worksheet with a macro or code. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to code macro for worksheet? | Excel Worksheet Functions | |||
Ability to close a worksheet and email using a macro button | Excel Discussion (Misc queries) | |||
How to code the Macro to save and close a file? | Excel Discussion (Misc queries) | |||
Close worksheet by means of a macro | Excel Worksheet Functions | |||
VBA Code to kick off macro when workbook command to close is initi | Excel Discussion (Misc queries) |