Partager via


SlideRange.HeadersFooters Property (PowerPoint)

Returns a HeadersFooters collection that represents the header, footer, date and time, and slide number associated with the slide, slide master, or range of slides. Read-only.

Syntax

expression .HeadersFooters

expression A variable that represents a SlideRange object.

Return Value

HeadersFooters

Example

This example sets the footer text and the date and time format for the notes master in the active presentation and sets the date and time to be updated automatically.

With ActivePresentation.NotesMaster.HeadersFooters

    .Footer.Text = "Regional Sales"

    With .DateAndTime

        .UseFormat = True

        .Format = ppDateTimeHmmss

    End With

End With

See Also

Concepts

SlideRange Object Members

SlideRange Object