A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date format wrong when using shortcut key



 
 
Thread Tools Display Modes
  #1  
Old February 11th, 2010, 06:18 AM posted to microsoft.public.word.newusers
D Brian
external usenet poster
 
Posts: 1
Default Date format wrong when using shortcut key

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.
  #2  
Old February 11th, 2010, 06:54 AM posted to microsoft.public.word.newusers
Graham Mayor
external usenet poster
 
Posts: 18,297
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.



  #3  
Old February 11th, 2010, 10:29 AM posted to microsoft.public.word.newusers
Terry Farrell
external usenet poster
 
Posts: 3,004
Default Date format wrong when using shortcut key

I always thought that alt+shft+D inserted the date in the short date format
defined in Regional settings in the Control panel.

--
Terry Farrell - MSWord MVP

"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.


  #4  
Old February 11th, 2010, 10:46 AM posted to microsoft.public.word.newusers
Graham Mayor
external usenet poster
 
Posts: 18,297
Default Date format wrong when using shortcut key

I believe it does, but the function should still correctly interpret the
'automatically update' setting in the dialog.

--

Graham Mayor - Word MVP

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



"Terry Farrell" wrote in message
...
I always thought that alt+shft+D inserted the date in the short date format
defined in Regional settings in the Control panel.

--
Terry Farrell - MSWord MVP

"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.




  #5  
Old February 11th, 2010, 01:38 PM posted to microsoft.public.word.newusers
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Date format wrong when using shortcut key

Alt+Shift+D is the keyboard shortcut for inserting a DATE field. It does use
the default date format, but it is always a field, irrespective of the
"automatically update" setting in Insert | Date and Time. The same is true
of the Insert Date button on the Header and Footer toolbar in Word 2003 and
earlier. If you want date text, you can either type it or insert the DATE
field and then immediately unlink it with Ctrl+Shift+F9 (as you've been
doing).

If Alt+Shift+D is not using the right format, then perhaps your default
choice is not being saved; I'm not sure whether this setting is stored in
the Normal template or (more likely) the Registry, but if you don't have
write permission to the Registry, or if Normal.dotm is not being saved,
then that could be the explanation for the format difference.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
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.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.