![]() |
#2
|
||||
|
||||
![]()
A mergefield coded as {Mergefield InterestRate \# 0.0000} will show the data to 4 decimal places. If you're dealing with percentage data, though, you may need to multiply the values by 100 to get the results you're after.
To control the percentage formatting in Word, rather than at the data source, add a formula and numeric picture switch to the mergefield, as follows: • select your mergefield, which will look something like «InterestRate»; • press Ctrl-F9 to wrap another field around it, thus { «InterestRate» }; • edit the field so that you get {=«InterestRate»*100 \# 0.00%}; • position the cursor anywhere in this field and press F9 to update it; • run your mailmerge. Note1: the precision of the displayed value is controlled by the '0.00'. You can use anything from '0' to '0.000000000000000'. Note2: The field brace pairs (ie '{ }') for the above example are created in the body of the document via Ctrl-F9 (Cmd-F9 on a Mac) - you can't simply type them or copy & paste them from this message. Likewise, you can't type or copy & paste the chevrons (ie '« »') - they're part of the actual mergefields, which you can insert from the mailmerge toolbar.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word Documents appear in two places | Drjh68 | Word | 1 | 08-25-2013 03:19 PM |
Word 2013 file opens as WD00000x and in 97 - 2003 format | duncanwil | Word | 0 | 07-23-2013 10:51 PM |
Format/Size of the Word Document | colinito | Word | 2 | 04-25-2013 01:33 AM |
![]() |
taylorr | Word | 1 | 02-16-2013 01:54 AM |
Which ODF/ .odt version is word 2010, 2013 preview & eventually 2013 full using? | semiotically | Word | 8 | 11-08-2012 05:44 PM |