View Single Post
 
Old 04-04-2019, 03:38 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,355
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

You could use custom document properties named, for example, Currency, ShortDate, LongDate, etc. and insert into them the field picture switches you want to use in a given locale. The mergefields, etc. could then be coded along the lines of:
{MERGEFIELD Amount \#"{DOCPROPERTY Currency}"}
In this example, if the 'Currency' custom document property contained €,0.00, the output would be formatted as €1,234,56.

Another approach would be to employ a macro that queries the regional settings upon opening the mailmerge main document and automatically updates those properties for you.

Both approaches have their advantages and disadvantages.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote