我的问题是,我还有一个分隔页,最初我在页面字段中提供了 -1 以获得适当的计数。您能否建议我如何操作宏来重新考虑这一点...
这是宏
Sub Main()
On Error Resume Next
For i = 0 To ActiveDocument.Sections.Count
ActiveDocument.Sections(i).Footers(wdHeaderFooterEvenPages).PageNumbers.RestartNumberingAtSection = False
ActiveDocument.Sections(i).Footers(wdHeaderFooterFirstPage).PageNumbers.RestartNumberingAtSection = False
ActiveDocument.Sections(i).Footers(wdHeaderFooterPrimary).PageNumbers.RestartNumberingAtSection = False
Next i
End Sub