![]() |
#1
|
|||
|
|||
![]() Hello. I'm using Word 2003 and would like to know if there's any way for a document to automatically attach a line at the end of the document which describes the username and date. Ideally this would be done every time the document is opened (with or without changes made) with a Save prompt offered. A series of such statements would then result over time. Alternatively, any way of setting the document to always ask to be saved regardless of changes made on access? Thanks very much for your help on this. |
#2
|
|||
|
|||
![]()
Put the following procedure in the ThisDocument module of the document project:
Sub Document_Open() ActiveDocument.Range.InsertAfter vbCr & Application.UserName & " - " & Format(Now, "MMMM dd, yyyy") End Sub See: http://gregmaxey.com/word_tip_pages/...ng_macros.html for instructions to employ the VBA code provided above. |
#3
|
|||
|
|||
![]()
Greg, thank you so much. That's perfect
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
APAV | Word | 9 | 10-09-2017 01:17 PM |
![]() |
musawwir | Word | 1 | 11-05-2012 05:20 PM |
Saved as .pdf document generates warning | cefoxtrot | Word | 1 | 06-05-2012 04:11 PM |
![]() |
saclarkdoc | Word | 1 | 10-28-2011 03:56 PM |
Merge to New Document - saved letter continues to ask for SQL source | Brandi | Mail Merge | 2 | 06-16-2010 08:08 AM |