automatically adding last saved version

P

Pascale

Hello
I am working with publisher 2003. Is it possible to have on the master a
date which will automatically update itself each time the document is saved
please? and how would I go about it ?
Many thanks
 
E

eezzell

Not knowing how much experience you have with Visual Basic, it can be done
trivially using the following code in the BeforeClose event on the document
object:

Private Sub Document_BeforeClose(Cancel As Boolean)
ThisDocument.MasterPages(1).Footer.TextRange = Date
End Sub

It would be better to use the open event so that you could see that the date
was correct before saving the document.

Computing should be about insight, not numbers or flash.
 
P

Pascale

Thanks for your answer. Unfortunately my experience in visual basic and
programming is 0
I would be grateful if you could tell me where to type your code please.
Many thank for your help
Pascale
 
Top