Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The before close event fires prior to the dialog that allows the user to
cancel. So it doesn not containg the user repsonse. Rather it allows you to cancel the closing of the addin. If you cancel the closing and the user choose to continue with exiting XL it may cause an issue. It may not but it is something to watch out for. What are you using the before close event for??? -- HTH... Jim Thomlinson "mark" wrote: Sounds like we're doing some slightly different things. My Add-In doesn't put in any new menus, just some subroutines and functions for database access to an Oracle database. There is a connection to the database in there, which we want to have available when a given workbook is open, and not available when that given workbook is not open. You wrote: "You are trying to close XL but you are saying do not close the addin." It's actually sort of the opposite of that. Whether or not I'm closing Excel, isn't the question... just the workbook. If the workbook closes, uninstall the Add-In. If the workbook opens, install the Add-In.... is what is wanted (partially by management). |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Before Close Event Hide all Worksheets then Close Application | Excel Programming | |||
before close event with condition | Excel Discussion (Misc queries) | |||
Before Close event | Excel Programming | |||
Worksheet close event? | Excel Programming | |||
After Close Event? | Excel Programming |