Frameset Property

Microsoft Word Visual Basic

Frameset Property

       

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

Remarks

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

Example

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

This example adds a new frame to the immediate right of the specified frame.

ActiveDocument.ActiveWindow.ActivePane.Frameset _
    .AddNewFrame wdFramesetNewRight