![]() |
|
#2
|
||||
|
||||
|
Your field coding has various errors. Try:
{QUOTE{SET Val «PCORevTotalCons»}{=INT(Val) \* CardText}" dollar{=INT(Val)-1 \# "s;s;"}" {IF{=MOD(Val,1) \# 0.00}> 0 " and {=MOD(Val,1)*100 \# 0 \* CardText} cent{=INT(MOD(Val,1)*100-1) \# "s;s;"}"} \* FirstCap} You'll find essentially the same field coding in the Mailmerge Tips & Tricks 'Sticky' thread at the top of this page (https://www.msofficeforums.com/mail-...ps-tricks.html), under the heading Mailmerge Number & Currency Formatting Note: The field brace pairs (i.e. '{ }') for the field code example above are all created in the mailmerge main document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from here. Nor is it practicable (for the most part) to add them via the standard Word dialogues. The spaces shown in the field constructions are all required. The line break, though, isn't needed - it just there for layout purposes
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Tags |
| mail merge, mail merge code, mail merge help |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Rounding of dollar value
|
Formd | Mail Merge | 2 | 07-06-2022 01:21 PM |
Sum Each Dollar Amount by Phase
|
Karen615 | Excel | 8 | 04-09-2020 03:55 PM |
Construction of a value to amount in words in mail merge
|
Marcia | Mail Merge | 2 | 08-08-2019 06:08 AM |
| help creating a dollar counter add-in | dstallworth | PowerPoint | 0 | 04-23-2017 12:49 PM |
| Convert Dollar amount to text | GeorgeLawshe | Word | 0 | 03-07-2010 10:17 PM |