HeadersFooters.Header property (PowerPoint)

Returns a HeaderFooter object that represents the header that appears at the top of a slide or in the upper-left corner of a notes page, handout, or outline. Read-only.

Syntax

expression. Header

expression A variable that represents a HeadersFooters object.

Return value

HeaderFooter

Example

This example sets the header text for the handout master for the active presentation. This text will appear in the upper-left corner of the page when you print your presentation as an outline or a handout.

Set myHandHF = Application.ActivePresentation.HandoutMaster _
    .HeadersFooters

myHandHF.Header.Text = "Third Quarter Report"

See also

HeadersFooters Object

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.