Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2004

Tip: Looking for answers? Try searching our database.

setup a running Logbook in Word?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Trying2Work - 03 Nov 2004 23:48 GMT
Years ago, in a different program, I could type ".log" in the first line of a
document and every time I opened that document it would take me to the end,
insert the computer's time/date stamp and a CR.  It made it a great running
logbook.  Double click on the icon, and type in a note -- simple and
effective.  

Is there any way to get Word to do something like that???
Andy - 04 Nov 2004 05:40 GMT
 > Years ago, in a different program, I could type ".log" in the
 > first line of a document and every time I opened that document it
 > would take me to the end, insert the computer's time/date stamp
 > and a CR.  It made it a great running logbook.  Double click on
 > the icon, and type in a note -- simple and effective.
 >
 > Is there any way to get Word to do something like that???

With this macro, every time you open the document, it should do what
you want.

===================================

Sub AutoOpen()

With Selection
   .EndKey Unit:=wdStory 'puts cursor at end
   .TypeParagraph 'starts a new line
   .InsertDateTime DateTimeFormat:="dd-MMM-yy", _
   InsertAsField:=False 'types in date in the above format
   .TypeParagraph 'starts a new line
End With

End Sub

===================================
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.