How do I change the US date setting in the event schedule planner

A

At work

Help! I'm using a lovely little template called event schedule planner -
however it shows the date in US date format and I need the UK format
(dd.mm.yyyy) how do I change it in this template please?
 
G

Graham Mayor

If this is Word 2007/2010 then the chances are that it uses date content
controls to display the dates. You can change them all with a macro

Sub Macro1()
Dim oCC As ContentControl
For Each oCC In ActiveDocument.ContentControls
If oCC.Type = wdContentControlDate Then
oCC.DateDisplayLocale = wdEnglishUK
oCC.DateDisplayFormat = "dd.MM.yyyy"
End If
Next oCC
End Sub


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top