Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Dale Jakins Dale Jakins is offline
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Greg Maxey[_2_] Greg Maxey[_2_] is offline
external usenet poster
 
Posts: 668
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Date and time in word document title dakke Microsoft Word Help 4 January 16th 08 03:36 AM
Disable automatic date/time update krupscafe Microsoft Word Help 3 November 1st 06 02:19 PM
Automatically inserting date and time after file modifications? Wiley Microsoft Word Help 1 August 24th 06 03:51 PM
date/time automatic update is off but date still updates. jocasam Microsoft Word Help 2 February 11th 06 03:50 PM
Inserting date/time in certain format? StargateFan New Users 15 February 13th 05 07:15 PM


All times are GMT +1. The time now is 05:14 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"