Remove option 'Update Automaticaly'

S

s3cardi

Hi,

I want to execute a VBA Macro each time a user print a
PowerPoint document using Microsoft PowerPoint2000. This
macro must uncheck the option 'Update Automaticaly' for
each date in the document inserted from the commamd
Insert 'Date&Time' before the document being printed.

Is it possible?
If you have other idea (certainly best) to do this, I'm
interested too.

Thank in advance for your help.

Patrick.
 
S

Shyam Pillai

Patrick,
The behaviour is controlled by the UseFormat property for the DateTime field
' ----- Beginning Of Code -----
If ActivePresentation.HasTitleMaster Then
With ActivePresentation.TitleMaster.HeadersFooters
With .DateAndTime
.UseFormat = msoFalse
.Visible = msoTrue
End With
End With
End If
With ActivePresentation.SlideMaster.HeadersFooters
With .DateAndTime
.UseFormat = msoFalse
.Visible = msoTrue
End With
End With
' ----- End Of Code -----
Note: For 2002 & later you will need to enumerate the designs collection and
do the same as above since it supports multiple designs in the same
presentation.

--
Regards
Shyam Pillai

Handout Wizard
http://www.mvps.org/skp/how/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top