Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / September 2005

Tip: Looking for answers? Try searching our database.

Limit decimal places in mail merge document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Diana Corl - 28 Sep 2005 13:28 GMT
No one seems to know how to limit the number of decimals showing in a mail
merged document.  Excel has the ability to limit to two decimals, but when
imported into the mail merge it adds several decimals and does not allow
editing of the decimal places.
macropod - 28 Sep 2005 13:56 GMT
Hi Diana,

If you select your mergefield and press Shift-F9 to expose the field coding,
you should see something like:
{MERGEFIELD ExcelData}
To limit the number of decimal places, you need to add a numeric picture
switch to the field, thus:
{MERGEFIELD ExcelData \# ,0.00}
The number of 0s after the decimal point controls the level of precision.
The leading comma is a thousands separator.

Cheers

> No one seems to know how to limit the number of decimals showing in a mail
> merged document.  Excel has the ability to limit to two decimals, but when
> imported into the mail merge it adds several decimals and does not allow
> editing of the decimal places.
Graham Mayor - 28 Sep 2005 14:13 GMT
See http://www.gmayor.com/formatting_word_fields.htm

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> No one seems to know how to limit the number of decimals showing in a
> mail merged document.  Excel has the ability to limit to two
> decimals, but when imported into the mail merge it adds several
> decimals and does not allow editing of the decimal places.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.