If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Macro: Exit active workbook without save?
How to create a maco button that exit the active workbook without saving?
Thanks |
#2
|
|||
|
|||
Macro: Exit active workbook without save?
Hi
try sub foo() with activeworkbook .saved=true .close end with end sub -- Regards Frank Kabel Frankfurt, Germany Param wrote: How to create a maco button that exit the active workbook without saving? Thanks |
#3
|
|||
|
|||
Macro: Exit active workbook without save?
Or simply:
ThisWorkbook .Close False -- Vasant "Frank Kabel" wrote in message ... Hi try sub foo() with activeworkbook .saved=true .close end with end sub -- Regards Frank Kabel Frankfurt, Germany Param wrote: How to create a maco button that exit the active workbook without saving? Thanks |
#4
|
|||
|
|||
Thanks to both of you for the quick responses. I did get your responses but
have been unable to get back on this site until tonight to thank you.....my apologies for the lateness of this thank you but know your help is greatly appreciated. Don "Vasant Nanavati" wrote: Or simply: ThisWorkbook .Close False -- Vasant "Frank Kabel" wrote in message ... Hi try sub foo() with activeworkbook .saved=true .close end with end sub -- Regards Frank Kabel Frankfurt, Germany Param wrote: How to create a maco button that exit the active workbook without saving? Thanks |
Thread Tools | |
Display Modes | |
|
|