WD: Hyphens Don't Display Correctly with Numeric Picture Switch

Article translations Article translations
Article ID: 121938 - View products that this article applies to.
This article was previously published under Q121938
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

Symptoms

A merge field that contains the numeric format switch does not return correct results when the pictorial representation contains hyphens. For example:
{mergeformat number \# ###-##-####}
produces the following result:
123 45 6789.


NOTE: You obtain correct results when you use other characters (such as the "at" symbol [@], the forward slash [/], the plus sign [+], or the asterisk [*]).

Workaround

To work around this problem, use one of the following methods.

Method 1

Enclose the hyphens in apostrophes so that your field appears as follows:
{MERGEFIELD number \# ###'-'##'-'####}

Method 2: Word for Windows and Word for Windows NT

Use the ANSI code when inserting the hyphen. To do this, press ALT+0173 on the numeric keypad with NUMLOCK on.

Method 3

Use a nonbreaking hyphen by typing CTRL+SHIFT+- in Word for Windows or OPTION+- in Word for the Macintosh.

Properties

Article ID: 121938 - Last Review: October 26, 2013 - Revision: 2.0
Applies to
  • Microsoft Word 97 Standard Edition
  • Microsoft Word 95a
  • Microsoft Word 98 for Macintosh
Keywords: 
kbnosurvey kbarchive kbfield kbprb KB121938

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com