Different First Page

Headers and Footers

Use the DifferentFirstPageHeaderFooter property with the PageSetup object to specify a different first page.
The following example inserts text into the first page footer in the active document.

With ActiveDocument 
    .PageSetup.DifferentFirstPageHeaderFooter = True
    .Sections(1).Footers(wdHeaderFooterFirstPage) _
        .Range.InsertBefore _
        "Written by Joe Smith"
End With

objPageSetup.DifferentFirstPagePagesHeaderFooter = True / False 

Defining a separate first page header and footer for the first section

With ActiveDocument.Sections(1) 
   .PageSetup.DifferentFirstPageHeaderFooter = True
   .Footers(wdHeaderFooterIndex.wdHeaderFooterFirstPage).Range.InsertBefore "first page footer text"
End With

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext