Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
When a user does a CLOSE of a worksheet, I want to run certain macros. I can capture the event of closing the workset. So no sweat there. But in my macro, I want to take certain actions depending on whether the worksheet is yet to be saved (Yes or No). Meaning, if there are no changes to be saved then I want to exit the macro; otherwise I want to run the macro. Other than using a public boolean field that maintains a status on is the worksheet changed, is there any other way I can get excel to give me this information? Many thanks in anticipation. (AB123). |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to run macros as one close a excel? | Excel Programming | |||
close WB after clicking DISABLE MACROS | Excel Programming | |||
Extend Rows and related formula downwards using functions not macros | New Users to Excel | |||
Search a worksheet and add related cells | Excel Worksheet Functions | |||
Excel crashes on close - macro related | Excel Programming |