Document.Frameset Property (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns a Frameset object that represents an entire frames page or a single frame on a frames page. Read-only.

expression .Frameset

expression A variable that represents a Document object.

For more information on creating frames pages, see Creating frames pages.

This example sets the color of frame borders in the specified frames page to tan.

With ActiveWindow.Document.Frameset 
 .FramesetBorderColor = wdColorTan 
 .FramesetBorderWidth = 6 
End With