ChildFramesetCount Property

Microsoft Word Visual Basic

Returns the number of child Frameset objects associated with the specified Frameset object. This property applies only to Frameset objects of type wdFramesetTypeFrameset. Read-only Long.

Remarks

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

Example

This example displays the number of child Frameset objects contained by the Frameset object that represents the specified frames page.

MsgBox ActiveWindow.Document_
    .Frameset.ChildFramesetCount