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

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
 
J

John Wilson

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
 

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