Share via


PageSetup.SectionStart Property

Word Developer Reference

Returns or sets the type of section break for the specified object. Read/write WdSectionStart.

Syntax

expression.SectionStart

expression   Required. A variable that represents a PageSetup object.

Example

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

Visual Basic for Applications
  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.

Visual Basic for Applications
  mytype = Documents("MyDoc.doc").Sections(2).PageSetup.SectionStart
ActiveDocument.PageSetup.SectionStart = mytype

See Also