如果该属性值为 True,则在第一页使用了不同的页眉或页脚。属性值可以是 True、False 或 wdUndefined。Long 类型,可读写。
本示例检查活动文档的每一节,查找第一页是否有不同的页眉和页脚,如果有就显示一条消息。
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