SectionStart Property

Microsoft Word Visual Basic

WdSectionStart can be one of these WdSectionStart constants.
wdSectionContinuous
wdSectionEvenPage
wdSectionNewColumn
wdSectionNewPage
wdSectionOddPage

expression.SectionStart

expression    Required. An expression that returns a PageSetup object.

Example

This example changes the type of section break to continuous for all sections in the active document.

ActiveDocument.PageSetup.SectionStart = wdSectionContinuous
		

This example returns the type of section break used at the beginning of the second section in MyDoc.doc and applies it to all the sections in the active document.

mytype = Documents("MyDoc.doc").Sections(2).PageSetup.SectionStart
ActiveDocument.PageSetup.SectionStart = mytype