Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Inserting an automatic date and time macro
Is there a Macro that I can insert into Word 2007 that would allow me to keep
a journal for instance....I could click Ctrl + D and then it would insert the current date and time? Does anyone know how to program that?? I've done this in word before and can't remember how to program it. Any help would be so greatly appreciated!!! |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Inserting an automatic date and time macro
You could assign something like the following to a keyboard shortcut:
Sub DateStamp() With Selection .InsertAfter "Captain's Log stardate " .Collapse wdCollapseEnd .InsertDateTime DateTimeFormat:="MMMM dd, yyyy HH:MM:SS: ", InsertAsField:=False End With End Sub Dale Jakins wrote: Is there a Macro that I can insert into Word 2007 that would allow me to keep a journal for instance....I could click Ctrl + D and then it would insert the current date and time? Does anyone know how to program that?? I've done this in word before and can't remember how to program it. Any help would be so greatly appreciated!!! -- Greg Maxey - Word MVP My web site http://gregmaxey.mvps.org Word MVP web site http://word.mvps.org |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Automatic Date and time in word document title | Microsoft Word Help | |||
Disable automatic date/time update | Microsoft Word Help | |||
Automatically inserting date and time after file modifications? | Microsoft Word Help | |||
date/time automatic update is off but date still updates. | Microsoft Word Help | |||
Inserting date/time in certain format? | New Users |