Question: xlAddInManagerInfo12 called with action = 2 #666
Unanswered
tonyroberts
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
in a specific situation I'm seeing xlAddInManagerInfo12 being called with action set to 2.0. Can you tell me what this means please?
What I'm seeing is that if Excel is closed but another process has a reference to the Excel.Application COM object for that process the Excel process doesn't end. However, the add-in is unloaded and xlAutoClose is called. If Excel is started again from the start menu the existing Excel process is used and a new window is created. At this point xlAddInManagerInfo12 is called with action = 2.0, but xlAutoOpen is not called. If Excel is closed again (with the COM object still holding a reference to it so the process doesn't exit), xlAutoClose is called again, but xlAutoOpen is never called after the first time.
What I'm wondering is whether or not the 2 passed to xlAddInManagerInfo12 is telling me that the add-in has not been closed and should re-open? Otherwise, what's going on with xlAutoOpen not being called after xlAutoClose when Excel restarts (same process, but new Excel window after not being able to properly close)?
thanks for your help,
Tony
Beta Was this translation helpful? Give feedback.
All reactions