With ActiveDocument.Sections(1).Headers(wdHeaderFooterFirstPage) This example adds text to the first-page header in the active document. PageNumberAlignment:=wdAlignPageNumberCenter, _ (A separate header is created for the first page.) With ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary) This example adds centered page numbers to every page in the active document except the first. To return a HeadersFooters collection that represents the footers for the specified section, use the Footers property. Remarksįor information about returning a single member of a collection, see Returning an object from a collection. SyntaxĮxpression A variable that represents a ' Section' object. Returns a HeadersFooters collection that represents the headers for the specified section.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |