Microsoft KB Archive/159415

= Internet Explorer Not Hosting MS Excel File =

Article ID: 159415

Article Last Modified on 8/17/2005

-

APPLIES TO


 * Microsoft Excel 95 Standard Edition

-



This article was previously published under Q159415



SYMPTOMS
When you open a Microsoft Excel file in Microsoft Internet Explorer version 3.0, the file is opened in a new instance of Microsoft Excel instead of activating in-place inside of the browser.



CAUSE
This behavior occurs when either of the following conditions are true:
 * The Docobj.dll file is not properly registered. Docobj.dll is installed with Microsoft Office 7.0. -or-


 * The file that you open was saved with a module sheet as the active sheet. Internet Explorer 3.0 cannot open or edit module sheets within a Microsoft Excel workbook.



WORKAROUND
To work around this behavior, use one of the following methods.

The Docobj.dll File Is Not Properly Registered
If you are running Windows 95 and the problem occurs because the Docobj.dll file is not being properly registered, use the following steps to reregister the file:  Click the Start button, and then click Run. Type the following in the Open box, and then click OK:

Regsvr32 /V Docobj.dll



Note: Regsvr32.exe is installed with Microsoft Internet Explorer 3.0.

The following message should now appear:

DllRegister Server in docobj.dll succeeded

The File Was Saved with a Module Active
If the problem occurs because the file was saved with a module sheet as the active sheet, use the following steps to save the file with a worksheet active:
 * 1) On the File menu, click open, and select the file in question.
 * 2) After the file is open, click a worksheet tab to select a worksheet instead of a module sheet.
 * 3) On the File menu, click Save.

NOTE: If you have files in the XLSTART folder or the Alternate Startup Folder that are saved with a module sheet active, including Add-In files (.xla), you can expect the same results. Even though you do not attempt to host those files, they still open when you start Microsoft Excel, and will therefore cause the same symptoms as described earlier in this article.

