Document.Sections Property (Word)
Published: July 16, 2012
Returns a Section collection that represents the sections in the specified document. Read-only.
For information about returning a single member of a collection, see Returning an Object from a Collection.
This example sets the page orientation for all the sections in the active document.
For Each sec In ActiveDocument.Sections sec.PageSetup.Orientation = wdOrientLandscape Next sec
This example creates a new document then adds some text to the document. It then creates a new section in the document and inserts text into the new section.