Pasted Text Is Not Hidden in TA, TC, or XE Field

Last reviewed: February 5, 1998
Article ID: Q114744
6.00 6.00a 6.00c WINDOWS kbusage

The information in this article applies to:

  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c

SYMPTOMS

Information you paste from the Clipboard into a TA (table of authorities), TC (table of contents), or XE (index entry) field may not be hidden like the rest of the field.

If you type additional text after the pasted text, this text is hidden.

Applying Hidden font formatting to the pasted text causes the table of contents to have hidden TOC levels.

CAUSE

This problem occurs when you use the following procedure:

  1. Position your insertion point immediately following the TC field name.
2. Turn the Smart Cut And Paste feature on. 3. Paste text into the field.

When you have the Smart Cut And Paste Feature selected, Word in most cases automatically inserts a space before pasted information. It is the inserted space that causes the pasted text to be unhidden. (To locate the Use Smart Cut And Paste option, choose Options from the Tools menu and select the Edit tab.)

Exception: With this feature selected, Word will NOT insert a preceding space (and therefore will not cause the pasted text to be unhidden) if the Clipboard text is inserted directly after one of the following characters:

   Open smart double quote
   Open smart single quote
   Space
   Right parenthesis
   Right square bracket

Note: The character preceding the insertion point may vary when you manually insert a TC, TA, or XE field. This is caused by the current states of the Smart Quotes feature and Show/Hide All Nonprinting Characters feature.

STATUS

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

WORKAROUNDS

Method 1: Use the following steps to disable Use Smart Cut And Paste:

          a. From the Tools menu, choose Options.
          b. Select the Edit tab.
          c. Clear the Use Smart Cut And Paste check box and choose OK.

Method 2: If you want to leave the Use Smart Cut And Paste option on, make
          sure before you paste into a hidden field that the insertion
          point is preceded by a space (or one of the other characters
          listed in the "Cause" section above).

MORE INFORMATION

For an example of a macro that avoids this problem while automating the insertion of a TC field, query on the following words in the Microsoft Knowledge Base:

   designate and text and macro


KBCategory: kbusage
KBSubcategory: kbfield
Additional reference words: 6.00 6.00a winword record word6 6.00c
intellisense
Keywords : kbfield
Version : 6.00 6.00a 6.00c
Platform : WINDOWS


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: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.