Excel: Workbook Object Does Not Behave as Expected

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.

MORE INFORMATION

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.

REFERENCES

"Microsoft Excel User s Guide 1," version 4.0, pages 68, 422 "Microsoft Excel User's Guide 2," version 4.0, pages 142-146


KBCategory: kbusage
KBSubcategory:

Additional reference words: 4.00a 4.00



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.