PageSetup.DifferentFirstPageHeaderFooter Property (Word)

True if a different header or footer is used on the first page. Can be True, False, or wdUndefined. Read/write Long.

Syntax

expression .DifferentFirstPageHeaderFooter

expression An expression that returns a PageSetup object.

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.

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

See Also

Concepts

PageSetup Object Members

PageSetup Object