Returns a Frameset object that represents an entire frames page or a single frame on a frames page. Read-only.
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
This example adds a new frame to the immediate right of the specified frame.
ActiveDocument.ActiveWindow.ActivePane.Frameset _
.AddNewFrame wdFramesetNewRight