Reply
 
Thread Tools Display Modes
  #1   Report Post  
Diana Corl
 
Posts: n/a
Default Limit decimal places in mail merge document

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.
  #2   Report Post  
macropod
 
Posts: n/a
Default

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


"Diana Corl" Diana wrote in message
...
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.



  #3   Report Post  
Graham Mayor
 
Posts: n/a
Default

See http://www.gmayor.com/formatting_word_fields.htm

--

Graham Mayor - Word MVP

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


Diana Corl wrote:
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.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Round numbers to 2 decimal places when using Word Mail Merge ALJ Mailmerge 3 April 30th 23 02:49 PM
Can I e-mail a mail merge document? TedRusky Mailmerge 4 July 13th 05 10:11 PM
Mail Merge Errors1 document created after merge Ron Mailmerge 1 June 10th 05 08:37 AM
How do I print a mail merge data source without the main document Lynn A Mailmerge 0 January 21st 05 10:39 AM
How do I mail merge when only merge document is shown in tools? DaveAS Microsoft Word Help 2 December 1st 04 03:45 PM


All times are GMT +1. The time now is 10:20 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"