Re: VBA - Copying footers

Tech-Archive recommends: Fix windows errors by optimizing your registry



office 2003 SP2

"Shyam Pillai" <ShyamPillai@xxxxxxxxx> wrote in message
news:uVJTBzWAJHA.524@xxxxxxxxxxxxxxxxxxxxxxx
Which version of PPT are you using?

Regards,
Shyam Pillai

Image Importer Wizard
http://skp.mvps.org/iiw.htm

"Sam" <savan_gandhi@xxxxxxxxxxxxxxxx> wrote in message
news:%232sWJ3SAJHA.3648@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am copying slides by using code from:
http://skp.mvps.org/pptxp001.htm

However, the footers are not getting copied. So I am doing this additional
processing:

'add Footer
If CBool(sldSource.HeadersFooters.Footer.Visible) Then
With sldInserted.HeadersFooters.Footer
.Visible = msoTrue
.Text =
ppPresSource.Slides(mySlide.SlideIndex).HeadersFooters.Footer.Text
End With
End If

If CBool(sldSource.HeadersFooters.DateAndTime.Visible) Then
sldInserted.HeadersFooters.DateAndTime.Visible = msoTrue
If CBool(sldSource.HeadersFooters.DateAndTime.UseFormat) Then
sldInserted.HeadersFooters.DateAndTime.UseFormat = msoTrue
Else
sldInserted.HeadersFooters.DateAndTime.Text =
ppPresSource.Slides(mySlide.SlideIndex).HeadersFooters.DateAndTime.Text
End If
End If

sldInserted.HeadersFooters.SlideNumber.Visible =
sldSource.HeadersFooters.SlideNumber.Visible

Could anyone please confirm if this is correct? Is it really that we need
to explicitly copy footers?

Regards,
Sam


.



Relevant Pages

  • Re: VBA - Copying footers
    ... "Sam" wrote in message ... I am copying slides by using code from: ... the footers are not getting copied. ... sldInserted.HeadersFooters.DateAndTime.Visible = msoTrue ...
    (microsoft.public.powerpoint)
  • Re: VBA - Copying footers
    ... I copy the slidemaster/titlemaster into another presentation. ... I think I will need to do this for slide master and the slide itself. ... "Headers and Footers" dialog box thru' VBA? ... sldInserted.HeadersFooters.DateAndTime.Visible = msoTrue ...
    (microsoft.public.powerpoint)