View Single Post
 
Old 09-13-2021, 08:51 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Perhaps you better take a step back and ask yourself WHY you need a section break at the end of each page. It would be better to use a hard page break so you only have one section's header/footers to deal with.

If you want the first section in the document to start numbering from 0 then you should do that with
Code:
  With ActiveDocument.Sections(1).Headers(1).PageNumbers
    .NumberStyle = wdPageNumberStyleArabic
    .HeadingLevelForChapter = 0
    .IncludeChapterNumber = False
    .ChapterPageSeparator = wdSeparatorHyphen
    .RestartNumberingAtSection = True
    .StartingNumber = 0
  End With
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote