WD: Word Fields Include Spaces at Beginning and End (109831)



The information in this article applies to:

  • Microsoft Word for Windows 6.0
  • Microsoft Word for Windows 6.0a
  • Microsoft Word for Windows 6.0c
  • Microsoft Word for Windows NT 6.0
  • Microsoft Word for Windows 95
  • Microsoft Word for Windows 95 7.0a
  • Microsoft Word 97 for Windows
  • 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

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.

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:kbfield kbprb KB109831