View Single Post
  #2   Report Post  
Posted to microsoft.public.word.newusers
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Date format wrong when using shortcut key

If the function is not working correctly, and it doesn't appear to be as
unchecking the automatically update box should cause the date to be entered
as plain text, it may be an indication of corruption in the Word data key in
the registry. Rename the Data key at
\HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\ Word to OldData and try
again.

If that doesn't fix it, create a macro to insert the date in the format that
you require eg

Sub InsertUSFormatDate()
With Selection
.InsertDateTime DateTimeFormat:="MMMM" & Chr(160) & _
"d," & Chr(160) & "yyyy", InsertAsField:=False
End With
End Sub

and assign the shortcut to that macro
http://www.gmayor.com/installing_macro.htm


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




"D Brian" D wrote in message
...
I use Word 2007. I set the default date format by clicking Date & Time in
the
Text section under the Insert tab on the ribbon. I choose the format I
want
and click Default. I make sure the "Update automatically" box is not
checked.
Then I click OK. The date is inserted in the format I chose and it does
not
automatically update. Everything works fine up to this point. My problem
comes when I then try to insert the date using the keyboard shortcut
Alt+Shift+D. According to several Word 2007 discussion groups, when
Alt+Shift+D is used the date should be inserted with the default format,
but
that doesn't happen when I do it. Another format is inserted. Also, the
date
automatically updates even though the update box was not checked in the
Date
and Time dialog box. I found a solution to the update problem but it is a
little cumbersome - Immediately after I insert the date with Alt+Shift+D,
I
use the left arrow key to back up into the date field, then I do
Ctrl+Shift+F9. This unlinks the field from the automatic update process.
But
I have not found a solution to the format problem. Ideally, I would like
to
use one keyboard shortcut to insert a date that is not updated, in the
format
I choose. Is it possible to do this? Do I need to create a macro? Any
suggestions would be helpful.