Font Changes When Editing Word Object Embedded in Client App.

ID: Q85913

The information in this article applies to:

SYMPTOMS

In Microsoft Word for Windows, if you copy text to the Clipboard and paste it into a Windows-based application (for example, version 4.0 of Microsoft Excel for Windows, Microsoft Mail, or Windows Write) by choosing Paste Special from the Edit menu and selecting Word Document Object, a Word icon will appear in the application file. If you double- click the Word icon to edit the object, Word may change the font of the text. Word may also change the paragraph formatting and style of the text to Normal.

STATUS

Microsoft has confirmed this to be a problem in versions 2.x, 6.0, 6.0a, and 6.0c of Word for Windows. This problem was corrected in Word version 7.0 for Windows 95.

WORKAROUND 1

Create the Word Object by launching Word for Windows from the client application. If you use the following steps to create the object, Word for Windows does not change the font or style when you edit the embedded object:

1. Launch the client application.

2. From the Edit menu, choose Insert Object. Under Object Type, select

   Word Document, then choose the OK button.

   Note: This step activates Word for Windows; an active window titled
   "Microsoft Word - Object in CLIENT.APP" (where "CLIENT.APP" is the
   filename from the server application) appears on the screen.

3. Create the Word object. From the File menu, choose Close. When you
   are prompted to update the object in the client application file,
   choose the Yes button.

   Note: This step returns you to the client application. A Word icon
   representing the Word object appears in the current cell.

4. To edit the Word object, double-click the icon. The Word object
   window appears in Word for Windows with all font and style formatting
   unchanged.

WORKAROUND 2

Do not use this workaround if your style has been changed; instead, use the first workaround. Use the following workaround only if your font has been changed:

1. With the Word object window active in Word for Windows, choose

   Style from the Format menu.

2. Choose the Define button, then choose the Character button.

3. Select the correct settings in the Character dialog box, and choose

   the OK button. Choose the Change button, then choose the Close
   button.

4. From the File menu, choose Close. When you are prompted to update
   the object, choose the Yes button.

The next time you double-click the Word object, the original font will remain unchanged.

Steps to Reproduce Problem

1. In a Word for Windows document, type "This is a test." Select this

   text.

2. From the Format menu, choose Character. In the Font box, select
   Courier New; in the Points box, select 20. Choose the OK button.

3. From the Edit menu, choose Copy.

4. Launch or activate version 4.0 of Excel for Windows. From the Edit

   menu, choose Paste Special.

5. Under Data Type, select Word Document Object, then choose the Paste
   button. A Word icon representing the Word object appears in the
   current cell.

6. Double-click the Word icon to edit the Microsoft Word object in
   Word for Windows.

Notice that the text, originally formatted for 20-point Courier New, has changed to a different font. The point size remains unchanged.

Microsoft has confirmed this to be a problem in versions 2.x, 6.0, 6.0a, and 6.0c of Word for Windows. This problem was corrected in Word version 7.0 for Windows 95.

KBCategory: kbusage buglist6.0c fixlist7.0 KBSubcategory: kbformat Additional query words: 6.0 winword2 winword 6.0a 6.0c winword word6 2.0 2.0a 2.0b 2.0a-CD 2.0b 2.0a-CD

Keywords          : kbformat 
Version           : 1.x 2.x 6.0 6.0a 6.0c
Platform          : WINDOWS

Last Reviewed: February 6, 1998