Frameset Property 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