You are currently offline, waiting for your internet to reconnect

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

This article was previously published under Q121938
This article has been archived. It is offered "as is" and will no longer be updated.
A merge field that contains the numeric format switch does not returncorrect results when the pictorial representation contains hyphens. Forexample:
{mergeformat number \# ###-##-####}
produces the following result:
123 45 6789.

NOTE: You obtain correct results when you use other characters (such asthe "at" symbol [@], the forward slash [/], the plus sign [+], or the asterisk [*]).
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 onthe numeric keypad with NUMLOCK on.

Method 3

Use a nonbreaking hyphen by typing CTRL+SHIFT+- in Word for Windows orOPTION+- in Word for the Macintosh.
macword winword dash minus sign numeric word6 switch mergefield field incorrect none missing

Article ID: 121938 - Last Review: 10/26/2013 11:38:00 - Revision: 2.0

Microsoft Word 97 Standard Edition, Microsoft Word 95a, Microsoft Word 98 for Macintosh

  • kbnosurvey kbarchive kbfield kbprb KB121938