Article ID: 284876 - Last Review: February 9, 2007 - Revision: 4.2 Excel fails when Automation add-In loadsThis article was previously published under Q284876 On This PageSYMPTOMS When Microsoft Excel loads an Automation add-in during cell
edit mode, Excel fails. This problem only occurs with Automation add-ins that
have been Demand Loaded into Excel. CAUSE This problem can occur when an add-in loads if the add-in
displays a form or dialog box, or if the add-in makes an Automation request to
Excel that tries to change the state of Excel. The following list includes
samples of Automation requests that may cause Excel to fail when it is called
while an Automation add-in loads during cell edit mode:
RESOLUTION Do not try the above-mentioned actions while your add-in
loads. Add-in methods that are called during the load include the Initialize method and, if your Automation add-in implements the IDTExtensibility2 interface, the OnConnection and OnStartupComplete methods as well. STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
MORE INFORMATIONSteps to Reproduce Problem
REFERENCES For
additional information, click the following article number to view the article
in the Microsoft Knowledge Base: 291392
(http://support.microsoft.com/kb/291392/
)
INFO: Excel
COM Add-ins and Automation Add-ins
| Article Translations
|
Back to the top
