Microsoft KB Archive/124349

Works Chart in Word 2.0 Replaced by Spreadsheet

PSS ID Number: Q124349 Article last modified on 06-29-1999

WINDOWS:2.0,2.0a,2.0a-CD,2.0b,2.0c; WINDOWS|MACINTOS:2.0,2.0a,3.0,3.0a,3.0b,4.0,4.0a,4.

WINDOWS WINDOWS|MACINTOS

================================================================ ==

The information in this article applies to:

 Microsoft Word versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c for Windows == Microsoft Works for Windows, versions 2.0, 2.0a, 3.0, 3.0a, 3.0b, 4.0, 4.0a, 4.5, 4.5a == 

= SYMPTOMS =

If you use the Insert Object command to insert a Works for Windows chart in a Word for Windows 2.0 document, the spreadsheet from which the chart was generated may be inserted instead. If you double-click a Works chart that had previously been inserted in a Word for Windows 2.0 document, the chart may be replaced by the spreadsheet.

= CAUSE =

This problem occurs because Works for Windows 3.0 and 4.0, and Word for Windows 2.0 support different versions of OLE. In particular, the chart replacement can happen after you have upgraded from Works 2.0 for Windows to Works 3.0 or 4.0 for Windows. When you double-click the chart, the OLE 1.0 source (Works for Windows version 2.0) is converted to an OLE 2.0 source (Works for Windows version 3.0 and 4.0). When you exit Works, the object must then be re-displayed in an OLE 1.0 container (Word for Windows 2.0).

= MORE INFORMATION =

This problem will not occur with Works for Windows 2.0 and Word for Windows 2.0, nor with Works for Windows 3.0 and 4.0, and Word for Windows 6.0 and 7.0 ; this problem does not occur with these product and version combinations because they use the same version of OLE.

With OLE 1.0, double-clicking an embedded object will open a separate window for the source application. Changes to the object can be made in this window. When you exit the source program window, the destination document containing the object is updated.

With OLE 2.0, double clicking an embedded object changes the toolbars and menus of the destination document window allowing in-place editing. Both the source and destination programs must be OLE 2.0 in order to use this functionality.

The following is a list of OLE sources and their versions:

For more information on OLE, query on the following articles in the Microsoft Knowledge Base:

Q81147 OLE Between Works for Windows and Word for Windows

Q76993 Explanation of Embedded Links vs. Embedded Objects

Q107066 Basic OLE Terminology

Q122263 Common Questions: Object Linking and Embedding, Data Exchange

Q82649 The Benefits of OLE in Windows 3.1

To work around this problem, use the following steps to copy the chart in Works 3.0 or 4.0, and paste it into Word 2.0:

  In Word for Windows 2.0, double-click the Works chart object displayed as a spreadsheet. This starts Works for Windows and opens the spreadsheet.   From the Works for Windows View menu, click Chart.   Select the chart and click OK.   From the Edit menu, click Copy. NOTE: Do NOT exit Works until you complete steps 5 and 6 below.   Switch to Word for Windows 2.0, and activate the destination document. </li>  From the Edit menu, click Paste. </li></ol>

NOTE: If you close Works for Windows before pasting the chart into Word 2.0, the object will no longer be associated with the original source program. When you double-click the object again to make changes, the source application will then be Microsoft Draw not Works for Windows.

Additional query words: 2.00 2.00a 3.00 3.00a 3.00b 4.00 4.00a 4.50 4.50a w_works convert converted converting ss insitu winword2 winword 7.0

=
========================================================= Keywords : kbinterop Version : WINDOWS:2.0,2.0a,2.0a-CD,2.0b,2.0c; WINDOWS|MACINTOS:2.0,2.0a,3.0,3.0a,3.0b,4.0,4.0a,4.5,4.5a Platform : WINDOWS WINDOWS|MACINTOS Issue type : kbprb ============================================================================= Copyright Microsoft Corporation 1999.