Log in

View Full Version : Create footer with VBA



artz
11-09-2008, 02:06 PM
Hi,

I have a Powerpoint presentation to which I would like to add an additional footer in addition to the built-in Date, Center page footer, and the page number footer on the right side of the page.

I would like this footer to reside to the right of the Date footer (on the left side of the page) and also not be printed on the title page.

Searching online, I was unable to find VBA code to do this. Can anyone in the Forum help with VBA code?

Thanks,

Art

Demosthine
11-09-2008, 05:13 PM
Good Evening.

If I understand you correctly, you want to add the Footer to all of the pages uniformly.

To do this, you do not need to use VBA. Rather, you would want to use the Slide Master.

In Office 2003, go to View | Master >> Slide Master.
In Office 2007, go to the View Ribbon, and then select Slide Master (5th Button from the Left).

Select the appropriate Slide Template you want to modify.
Make the appropriate changes and Close the Master Slide.


Alternatively, you could use the ActivePresentation.SlideMaster Object to manipulate the Footer.

Let us know if you need more ifnormation.
Scott

artz
11-09-2008, 05:45 PM
Thanks for your reply.

Yes, I did go to the slidemaster to create my footer and date on the master slide. The problem is that the header/footer menu only allows a single footer. I want to add an additional footer besides the one on the header/footer menu.

Do you have a suggestion on how to do that? Seems that VBA was the only way.

Thanks,

Art

Demosthine
11-09-2008, 06:39 PM
Good Evening.

Even though it would not technically be called a Footer, adding another TextBox to the Master Slide and positioning it will ensure it appears on all pages with that Slide Layout. Is there a particular reason you need it to be specified as the actual "Footer"?

Scott

artz
11-09-2008, 06:51 PM
Hi Scott,

That's a good point. It does not have to be a footer per se. How do I ensure that by adding the textbox in this way, it will show up on all but the title slide?

Maybe this is obvious, but I don't see how to do it.

Art