Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Stop the date being automatically changed in Word 2007
When I type a date word tries to change it to a format that I do not want.
If I go to "Insert/Date and Time", set the format they way I want and then select default to use this format for the default, it only works the once. When I again type a date it tries to insert the format I do not want. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Stop the date being automatically changed in Word 2007
You could always use a macro to insert the date in any format you like eg
Sub InsertUKFormatDate() With Selection .InsertDateTime DateTimeFormat:="d" & Chr(160) & _ "MMMM" & Chr(160) & "yyyy", InsertAsField:=False End With End Sub or Sub InsertUSFormatDate() With Selection .InsertDateTime DateTimeFormat:="MMMM" & Chr(160) & _ "d," & Chr(160) & "yyyy", InsertAsField:=False End With End Sub See http://www.gmayor.com/installing_macro.htm If you want superscripted ordinals it is a bit more complicated, but not impossible - see http://www.gmayor.com/formatting_word_fields.htm or you could pick your date from a calendar http://www.gmayor.com/popup_calendar.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Barry wrote: When I type a date word tries to change it to a format that I do not want. If I go to "Insert/Date and Time", set the format they way I want and then select default to use this format for the default, it only works the once. When I again type a date it tries to insert the format I do not want. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Stop the date being automatically changed in Word 2007
Thanks for this Graham, it is one way round this problem.
I may get other problems that require me chaging autocomplete options so I would still like to know how. Barry "Graham Mayor" wrote: You could always use a macro to insert the date in any format you like eg Sub InsertUKFormatDate() With Selection .InsertDateTime DateTimeFormat:="d" & Chr(160) & _ "MMMM" & Chr(160) & "yyyy", InsertAsField:=False End With End Sub or Sub InsertUSFormatDate() With Selection .InsertDateTime DateTimeFormat:="MMMM" & Chr(160) & _ "d," & Chr(160) & "yyyy", InsertAsField:=False End With End Sub See http://www.gmayor.com/installing_macro.htm If you want superscripted ordinals it is a bit more complicated, but not impossible - see http://www.gmayor.com/formatting_word_fields.htm or you could pick your date from a calendar http://www.gmayor.com/popup_calendar.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Barry wrote: When I type a date word tries to change it to a format that I do not want. If I go to "Insert/Date and Time", set the format they way I want and then select default to use this format for the default, it only works the once. When I again type a date it tries to insert the format I do not want. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can I Insert a date that will automatically update when opened to 1MONTH FROM CURRENT DATE? | New Users | |||
when merging how do I stop the date being changed into US fomat | Microsoft Word Help | |||
How do I stop the date being updated automatically? | Microsoft Word Help | |||
stop date updating automatically | New Users | |||
How do I stop the DATE field from automatically updating each tim. | Microsoft Word Help |