ChildFramesetItem Property

Microsoft Word Visual Basic

Returns the Frameset object that represents the child Frameset object specified by the Index argument. This property applies only to Frameset objects of type wdFramesetTypeFrameset. Read-only.

expression.ChildFramesetItem(Index)

expression    Required. An expression that returns a Frameset object.

Index    Required Long. The index number of the specified frame.

Remarks

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

Example

This example sets the name of the third child frame of the specified frame to "BottomFrame".

ActiveWindow.Document.Frameset _
    .ChildFramesetItem(3).FrameName = "BottomFrame"