Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
We have an Excel 97 spreadsheet that is attached to an ActiveX server. I am
now closing the server with an Auto_Close macro. But it runs this before giving the user the message when the spreadsheet hasn't been saved, and if the user chooses Cancel you are back in the workbook with the ActiveX server no longer running. I tried putting the code in a BeforeClose, but things seemed to work the same way. The current situation isn't so bad. Before any calls to the server it checks if still running, and if not it displays a MsgBox and the user clicking ok starts it up again. Just I like to be as friendly as possible. Don <donwiss at panix.com. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Starting Auto_Close macro based on an IF statement | Excel Discussion (Misc queries) | |||
beforeclose placement | Excel Discussion (Misc queries) | |||
Auto_Close() needs help | Excel Programming | |||
Auto_Close | Excel Programming | |||
BeforeClose event - Savings | Excel Programming |