Section.Footers property (Word)
Returns a HeadersFooters collection that represents the footers in the specified section. Read-only.
Syntax
expression. Footers
expression A variable that represents a 'Section' object.
Remarks
For information about returning a single member of a collection, see Returning an object from a collection. To return a HeadersFooters collection that represents the headers for the specified section, use the Headers property.
Example
This example adds a right-aligned page number to the primary footer in the first section in the active document.
With ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary)
.PageNumbers.Add PageNumberAlignment:=wdAlignPageNumberRight
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.