Cannot Insert Clipboard Contents Using ^c in Edit Replace

ID: Q94880


The information in this article applies to:
  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows


SUMMARY

The following error message occurs if you try to insert the contents of the Windows Clipboard in a Word for Windows document using the Edit Replace command when the Clipboard contains a TC field that is nested in an XE field:

Word cannot read the formatting in this document.
To replace the search text with contents of the Clipboard, choose Replace from the Edit menu, and type ^c in the Replace With box.


MORE INFORMATION

This problem does not occur with other nested field combinations.

Workaround

  1. Use the Find command from the Edit menu to locate the search text.


  2. Close the Find dialog box.


  3. From the Edit menu, choose Paste to insert the contents of the Clipboard.


Steps to Reproduce Problem

  1. In a Word document, insert the following field:
    {XE "Index"{TC "Table of Contents Entry"}}
    Note: Press CTRL+F9 to create the curly field brackets ({}).


  2. Press ENTER to insert a paragraph mark.


  3. Type YYY.


  4. Select the field you inserted in step 1 above.


  5. From the Edit menu, choose Copy.


  6. From the Edit menu, choose Replace.


  7. Type YYY in the Find What box.


  8. Type ^c in the Replace With box.


  9. Choose the Replace All button. The "Word cannot read the formatting in this document" error message occurs. Choose the OK button.


Result: Word inserts the XE field but not the TC field, as follows:
{XE "Index"}
We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Reference(s):

"Microsoft Word for Windows User's Guide," version 2.0, pages 260-266

Additional query words: errmsg err msg 2.0 winword word6 7.0 word95 word7 6.0 winword2 word97

Keywords : kbfield
Version : WINDOWS:2.0,2.0a,2.0a-CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0,7.0a,97
Platform : WINDOWS
Issue type :


Last Reviewed: October 4, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.