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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
P

Pamelia Caswell via OfficeKB.com

I can help you change one and then copy it, though there ought to be a way to
do it all at once for the same type of control.

Open the template. Select an empty content control that you want to edit.
Turn on the Developer mode (It's on the developer tab. If you don't see it,
go to Word options and put a check mark in the the box before "Show Developer
tab in ribbon". ) Then click Properties. Change the locale from English
(US) to English (UK). Then set your preference for how the date will display.
OK out of the content control properties dialog.

Copy the edited control to the clipboard. Select the other, like content
controls and paste. Make sure you are out of the developer mode. Check to
make sure the developer mode is off. Save the template.

Pam
 
P

Pamelia Caswell via OfficeKB.com

Below, I should have written *Design mode*.

Graham's macro is way cool, but knowing how to do it yourself is also cool.
 

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