|
- Sub SectionPageNumber()
- With ActiveDocument.Sections(5)
- .Range.Select
- With Selection
- .EndKey 6, 1
- .Find.Execute "^12", , , 0, , , , , , "", 2
- .Sections(1).Footers(wdHeaderFooterPrimary).Range.Text = ""
- End With
- With .Footers(wdHeaderFooterPrimary).PageNumbers
- .NumberStyle = wdPageNumberStyleArabic
- ' .NumberStyle = wdPageNumberStyleNumberInDash '-1-
- .RestartNumberingAtSection = True
- .StartingNumber = 14
- .Add PageNumberAlignment:=wdAlignPageNumberCenter, FirstPage:=True
- End With
- End With
- End Sub
复制代码 |
评分
-
1
查看全部评分
-
|