Microsoft KB Archive/110555

{| = Excel: Workbook Object Does Not Behave as Expected =
 * width="100%"|

Last reviewed: September 12, 1996

Article ID: Q110555 The information in this article applies to:
 * Microsoft Excel for Windows, version 4.0

SYMPTOMS
When Microsoft Windows Object Packager has been used to insert a Microsoft Excel workbook in a Microsoft Word document, double-clicking the embedded icon may not open the workbook in Microsoft Excel.

CAUSE
In object linking and embedding (OLE) version 1.0, there no file type for Microsoft Excel workbooks. Therefore, double-clicking the icon opens and closes Microsoft Excel without displaying the workbook.

RESOLUTION
In File Manager, do the following to create an association for the Microsoft Excel 4.0 workbook file format:


 * 1) From the File menu, choose Associate.
 * 2) Type "XLW" (without the quotation marks) in the Files with Extension box.
 * 3) In the Associate With box, type "C:\EXCEL\EXCEL.EXE" (without the quotation marks) or type the full path to the Microsoft Excel application executable file.

Steps to Reproduce Problem

 * 1) Close Microsoft Excel and start Microsoft Word 2.0.
 * 2) From the Insert menu, choose Object.
 * 3) In the Object dialog box, select Package, and choose OK.
 * 4) In Object Packager, choose Import from the File Menu.
 * 5) Choose a workbook file.
 * 6) From the File menu in Object Packager, choose Exit.
 * 7) When you are prompted to "Update Document?" choose the Yes button.
 * 8) Double-click the icon in Word.

The Microsoft Excel workbook object will not start the Microsoft Excel application and you will not be able to open the packaged workbook document.