From: At work At on
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?
From: Graham Mayor on
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
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


"At work" <At work(a)discussions.microsoft.com> wrote in message
news:51BE82E0-3A8C-40CA-9723-BBFEDF6DC27F(a)microsoft.com...
> 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?


From: Pamelia Caswell via OfficeKB.com on
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





At work wrote:
>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?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/word-docmanagement/201004/1

From: Pamelia Caswell via OfficeKB.com on
Below, I should have written *Design mode*.

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

Pam
Pamelia Caswell wrote:
>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 *Design 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
>
>>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?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/word-docmanagement/201004/1