Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
other
informationbridge
office.intranets
office.misc
office.setup
office.xml
officeupdate
onenote
photodraw.discussion
powerpoint
producer
proj.standard&server
project
project.developer
project.pro_and_serve
project.server
project.vba
project2000
publisher
publisher.prepress
publisher.programming
publisher.webdesign
visio
visio.createshapes
visio.database.modeling
visio.dev.diagrams
visio.dev.shapesheet
visio.dev.vba
visio.dev.vc
visio.developer
visio.general
visio.installation
visio.printing
visio.software.modeling
visio.troubleshoot
  
 
date: Thu, 31 Jan 2008 00:46:00 -0800,    group: microsoft.public.publisher.programming        back       


automatically adding last saved version   
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
date: Thu, 31 Jan 2008 00:46:00 -0800   author:   Pascale

RE: automatically adding last saved version   
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.


"Pascale" wrote:

> 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
date: Thu, 31 Jan 2008 11:24:04 -0800   author:   eezzell

RE: automatically adding last saved version   
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

"eezzell" wrote:

> 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.
> 
> 
> "Pascale" wrote:
> 
> > 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
date: Sat, 2 Feb 2008 08:29:02 -0800   author:   Pascale

Re: automatically adding last saved version   
Tools, Macro, Visual Basic Editor or Alt+F11

-- 
Mary Sauer MSFT MVP
http://office.microsoft.com/
http://msauer.mvps.org/
news://msnews.microsoft.com

"Pascale"  wrote in message 
news:E938CDF8-CC37-429D-839D-17462469D605@microsoft.com...
> 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
>
> "eezzell" wrote:
>
>> 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.
>>
>>
>> "Pascale" wrote:
>>
>> > 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
date: Sat, 2 Feb 2008 12:09:38 -0500   author:   Mary Sauer

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us