for an odd-page break: start and end : Page Break « Excel « VBA / Excel / Access / Word






for an odd-page break: start and end

 

Sub break3()
    ActiveDocument.Sections.add Range:=ActiveDocument.Range(Start:=ActiveDocument.Paragraphs(2).Range.Start, _
            End:=ActiveDocument.Paragraphs(2).Range.End), Start:=wdSectionOddPage
End Sub

 








Related examples in the same category

1.for a new-column break: start and end
2.for an even-page break: set start and end
3.for a continuous break
4.inserts a continuous section break before the second paragraph in the active document:
5.for a new-column break
6.for an odd-page break
7.for an even-page break
8.for a new-page break