Microsoft KB Archive/109831

From BetaArchive Wiki
Knowledge Base


WD: Word Fields Include Spaces at Beginning and End

Article ID: 109831

Article Last Modified on 1/18/2007



APPLIES TO

  • Microsoft Word 6.0 Standard Edition
  • Microsoft Word 6.0a
  • Microsoft Word 6.0c
  • Microsoft Word 6.0 Standard Edition
  • Microsoft Word 95 Standard Edition
  • Microsoft Word 95a
  • Microsoft Word 97 Standard Edition
  • Microsoft Word 6.0 for Macintosh
  • Microsoft Word 6.01 for Macintosh
  • Microsoft Word 6.01 for Macintosh
  • Microsoft Word 98 for Macintosh



This article was previously published under Q109831


SYMPTOMS

In Microsoft Word, any fields inserted from menus or by pressing CTRL+F9 (COMMAND+F9 in Word for the Macintosh) include a space at the beginning and a space at the end. Earlier versions of Word do not include these extra spaces.

This may be a problem if a macro written for an earlier version of Word searches for a field code using ^19fieldname.

RESOLUTION

To find fields, the search must be modified to include a space between ^19 and the field name.

MORE INFORMATION

The extra spaces are provided for ease of reading the contents of the field.

Keywords: kbprb kbfield KB109831