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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for