Table of contents
Collapse the table of content
Expand the table of content

HeadersFooters.SlideNumber Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Returns a HeaderFooter object that represents the slide number in the lower-right corner of a slide, or the page number in the lower-right corner of a notes page or a page of a printed handout or outline. Read-only.


expression. SlideNumber

expression A variable that represents a HeadersFooters object.

Return Value



This example hides the slide number on slide two in the active presentation if the number is currently visible, or it displays the slide number if it is currently hidden.

With Application.ActivePresentation.Slides(2) _
    If .Visible Then
        .Visible = False
        .Visible = True
    End If
End With

See also


HeadersFooters Object

© 2018 Microsoft