Article ID: 320058 - View products that this article applies to.
This article was previously published under Q320058
This article has been archived. It is offered "as is" and will no longer be updated.
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/256986/EN-US/ )Description of the Microsoft Windows Registry
When you use the /automation command-line switch to start Excel, COM add-in programs load unexpectedly. (The /automation switch should disable all automatically opened files and auto-run macros.)
To resolve this problem, obtain the latest service pack for Microsoft Office XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
307841The English version of this fix has the following file attributes or later:
(http://support.microsoft.com/kb/307841/EN-US/ )OFFXP: How to Obtain the Latest Office XP Service Pack
After the hotfix is installed, the following files will have the listed attributes or later:
Date Time Size File name ------------------------------------------------- 21-May-2002 10:13 13,297,756 Excel.msp 21-May-2002 10:43 14,101,012 Excel_admin.msp 21-May-2002 14:18 2,626 Readme.txt
Date Time Version Size File name ---------------------------------------------------------- 20-May-2002 23:27 10.0.4115.0 9,173,320 Excel.exe 20-May-2002 23:27 10.0.4115.0 9,173,320 Excel.exe_1033 20-May-2002 23:27 10.0.4115.0 9,173,320 EXcel.exe_1049
After you install this fix, use the steps in the "How to Enable Hotfix by using the QFE_Jasper Registry Key" section of this article to set the QFE_Jasper registry key and to turn on the fix.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Office XP Service Pack 2 (SP-2).
In Excel 2002, you can use the /automation switch to start Excel any of these ways:
Excel.exe /automation Test.MyAddin MS.ComAddInThe /automation switch can be combined with other existing command-line switches.
Excel.exe /automation COM Add-ins or XLAs, /a Automation Add-ins
How to Turn On the Hotfix by Using the QFE_Jasper Registry KeyTo turn on the product fix listed in this article enter the following registry key and value. To do so:
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Contact us for more help