Adding footer to presentation created in Powerpoint 2007 via VB.NE

  • Thread starter Thread starter Vasco Costa
  • Start date Start date
V

Vasco Costa

Hi,

I'm developing a .NET application that uses the Office Interop mechanism to
edit files and convert them to PDF.

I've managed to easily access the Excel and Word footers, but can't seem to
do the same with Powerpoint files.

I'm using Object Library 12 of Office.

I've read in some articles that Powerpoint 2007 works with footers as if
they were regular text boxs, but I would like to know if:
1 - Is this true?
2 - If so, imagine I set a footer on a presentation and need to change it
later, via VB.NET. How can I identify the Shape where the footer has been
placed?

Thanks for your help,

Vasco Costa
 
If osld is a reference to slide

With osld.HeadersFooters.Footer
..Visible = True
..Text = "Your text"
End With

NB you need to check that the relevant masteractually has a footer
placeholder otherwise this will crash
 
Back
Top