Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 11-18-2022, 04:05 PM
macropod's Avatar
macropod macropod is offline Dollar amount in words Windows 10 Dollar amount in words Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
 

Tags
mail merge, mail merge code, mail merge help



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dollar amount in words Rounding of dollar value Formd Mail Merge 2 07-06-2022 01:21 PM
Dollar amount in words Sum Each Dollar Amount by Phase Karen615 Excel 8 04-09-2020 03:55 PM
Dollar amount in words 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

Other Forums: Access Forums

All times are GMT -7. The time now is 11:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft