DifferentFirstPageHeaderFooter Property Example

This example checks each section in the active document for headers and footers that are different on the first page and displays a message if any are found.

For Each sec In ActiveDocument.Sections
    If sec.PageSetup.DifferentFirstPageHeaderFooter = True Then
    Msgbox "Section " & sec.Index _
        & " has different first page headers & footers."
    End If
Next sec