Is there a default (a keystroke, a button) to paste "Date and Time"?

  • Thread starter Rafael Montserrat
  • Start date
R

Rafael Montserrat

Word 2004
OS 10.4.8
ibook g4
150 ram

Hi,

Is there a default (a keystroke, a button) for the "Date & Time
format" in order to bypass the following steps:

1. Move cusor to 'Insert' on the Menu Bar
2. Click 'Insert'
3. Scroll down to 'Date and Time'
4. Click 'OK' for defaulted 'Date and Time'?

Thanks,

Rafael
 
C

CyberTaz

If I understand you correctly, there isn't a default way to get the date
inserted as text. Seems like a no-brainer, but it somehow has not arrived -
or IIRC, more accurately got lost somewhere along the way.

Shift+Control+D will insert a DATE field, but the field will update each
time the doc is opened or printed unless you then key
Shift+Command+LeftArrow, Shift+Command+F9 to convert the field to text.

Here's a little macro that may help - it puts in the date, "unlinks" the
field & leaves the insertion point at the end of the date. I trigger it with
Control+/ :

Sub ActualDate()

Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldDate
Selection.HomeKey Unit:=wdLine, Extend:=wdExtend
Selection.Fields.Unlink
Selection.MoveRight Unit:=wdCharacter, Count:=1

End Sub

Additionally - The INSERTDATETIME command can have a keyboard shortcut
assigned to it, but that just brings up the Insert Date & Time dialog.

HTH |:>)
Bob Jones
[MVP] Office:Mac
 
D

Daiya Mitchell

Elliott said:
Finally, you could write a macro to it it exactly as you would want and
assign a keyboard shortcut to that. I'd have it insert a field with the
correct format string and turn it into plain text in one fell swoop.
Just for kicks, here's my version to insert a plain text date, no idea
where I got it from:

Selection.InsertDateTime DateTimeFormat:="dddd, d MMMM, yyyy h:mm:ss
AM/PM", InsertAsField:= _
False

Use Insert | Date and Time in a doc, then check the field code, to
figure out the exact arrangement between the quotation marks for your
desired format. You hand edit a format and combine codes to get exactly
what you want if Insert | Date and Time doesn't have the proper format.
(I edited this format and have not tested it, to be honest)

Daiya
 

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