Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2019, 06:52 AM
mblackford mblackford is offline Can you have date and currency fields detect regional settings for format? Windows 10 Can you have date and currency fields detect regional settings for format? Office 2016
Novice
Can you have date and currency fields detect regional settings for format?
 
Join Date: Apr 2019
Posts: 1
mblackford is on a distinguished road
Default Can you have date and currency fields detect regional settings for format?

I am trying to create one merge template that can be used worldwide. After searching, it doesn't appear that there is a way to insert a formula/switch/etc to have the date/currency fields format based on the regional settings of the user. But I wanted to just make sure before I give up. Our software application provides merge contracts and proposals to our users. Currently, we allow customers to edit their own merge templates so they can format the dates/currency formats. But we are trying to provide a single set of templates for our limited service product that does not allow them to edit. Any ideas?
Reply With Quote
  #2  
Old 04-04-2019, 03:38 PM
macropod's Avatar
macropod macropod is online now Can you have date and currency fields detect regional settings for format? Windows 7 64bit Can you have date and currency fields detect regional settings for format? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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
Reply

Tags
currency, date cell formatting, regional



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you have date and currency fields detect regional settings for format? Why do currency cells automatically change to date format on some worksheets Hil Excel 1 09-16-2015 10:34 AM
Currency format in form travelred Word 2 11-14-2014 06:15 AM
Can you have date and currency fields detect regional settings for format? MS Project to detect task level changes and record a date modified in custom field RJTMEYER Project 3 08-22-2014 07:38 AM
Letter date changes when merging with Excel - not the format, the actual date! Smallweed Mail Merge 1 02-07-2014 06:00 PM
Can you have date and currency fields detect regional settings for format? TOC not updated due to regional "separator" settings ajay_p5 Word 3 08-04-2013 05:01 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:39 PM.


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