WD: Word Fields Include Spaces at Beginning and End

ID: Q109831


The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows NT, version 6.0
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1, 6.0.1a
  • Microsoft Word 98 Macintosh Edition


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.

Additional query words:

Keywords : kbdta wordnt kbfield macword98 ntword macword word6 word7 word95
Version : MACINTOSH:6.0,6.0.1,6.0.1a,98; WINDOWS:6.0,6.0a,6.0c,7.0,7.0a; winnt:6.0; :
Platform : MACINTOSH WINDOWS winnt
Issue type : kbprb


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