HeadersFooters Property

Microsoft PowerPoint Visual Basic

HeadersFooters Property

       

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.

For information about returning a single member of a collection, see Returning an Object from a Collection.

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