Muokkaa

Jaa


HeadersFooters object (PowerPoint)

Contains all the HeaderFooter objects on the specified slide, notes page, handout, or master.

Remarks

Each HeaderFooter object represents a header, footer, date and time, or slide number.

Note

HeaderFooter objects aren't available for Slide objects that represent notes pages. The HeaderFooter object that represents a header is available only for a notes master or handout master.

Example

Use the HeadersFooters property to return the HeadersFooters object. Use the DateAndTime, Footer, Header, or SlideNumber property to return an individual HeaderFooter object. The following example sets the footer text for slide one in the active presentation.

ActivePresentation.Slides(1).HeadersFooters.Footer _
    .Text = "Volcano Coffee"

See also

PowerPoint Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.