WD: Hidden Text Appearing in File Saved as Text Only (28302)



The information in this article applies to:

  • Microsoft Word for Windows 2.0
  • Microsoft Word for Windows 2.0a
  • Microsoft Word for Windows 2.0b
  • Microsoft Word for Windows 2.0c
  • Microsoft Word for Windows 6.0
  • Microsoft Word for Windows 6.0a
  • Microsoft Word for Windows 6.0c
  • Microsoft Word for the Macintosh 3.0
  • Microsoft Word for the Macintosh 3.01
  • Microsoft Word for the Macintosh 3.02
  • Microsoft Word for the Macintosh 4.0
  • Microsoft Word for the Macintosh 5.0
  • Microsoft Word for the Macintosh 5.1
  • Microsoft Word for the Macintosh 5.1a
  • Microsoft Word for the Macintosh 6.0
  • Microsoft Word for the Macintosh 6.0.1
  • Microsoft Word for the Macintosh 6.0.1a
  • Microsoft Word 98 Macintosh Edition
  • Microsoft Word for Windows 95
  • Microsoft Word for Windows 95 7.0a

This article was previously published under Q28302

SYMPTOMS

In Microsoft Word, when a document containing hidden text is saved in Text Only format, text formatted as hidden text becomes visible.

CAUSE

When you save a document in Text Only format, all character formatting is lost from the document. Because hidden text is a character format, it is lost along with the rest of the character formatting.

WORKAROUND

To prevent this problem from occurring, delete the hidden text from the file before saving the file in Text Only format. To do this, follow these steps:

Word 98, Word 7.x, Word 6.x, and Word 5.1

  1. On the the Edit menu, click Replace.
  2. Place the insertion point in the Find What Box.
  3. On the Format list under the Find What box, click Character (or Font).
  4. Under Style, click to clear the Hidden check box.
  5. Leave the Replace With box blank and click Replace All.

Word Versions 4.0 and 3.x

  1. If you are creating a table of contents or an index using Word codes, change all occurrences of .c. and .i. to any other unique character, such as @@@ or ###.
  2. Save the document in Rich Text Format (RTF).
  3. Change all occurrences of \v to \info\comment.
  4. Close this document and save changes when prompted.
  5. When you reopen the document and Word interprets the RTF, the hidden text is removed.
  6. Globally change all instances of @@@ and ### back to .c. and .i., respectively.

Word 2.x for Windows

  1. On the the Edit menu, click Replace.
  2. Place the cursor in the Find What Box.
  3. Click Character.
  4. Click to clear the Hidden check box.
  5. Leave the Replace With box blank and click Replace All.

MORE INFORMATION

The RTF designation for hidden text is \v. Each group of characters that is formatted as hidden is preceded with a \v.

The RTF designation for a comment is \info\comment, and when RTF is interpreted, the text following the comment is not written into the document.

The special codes for tables of contents and indexes, .c. and .i. respectively, are handled differently in the RTF format of Word 4.0 than they are in Word 3.02. To support table of contents and index entries in programs that do not use the .c. format, Word 4.0 formats the complete entry as a hidden string with special RTF formatting. If you replace the \v before replacing the .c. or .i., the parts of the entry not hidden are deleted. In Word 3.02, this is not a consideration because the .c. or .i. codes are formatted in RTF in the same manner as other hidden characters.

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:kbinterop kbprb KB28302