Frameset.ChildFramesetCount Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns the number of child Frameset objects associated with the specified Frameset object. Read-only Long.

expression .ChildFramesetCount

expression A variable that represents a Frameset object.

This property applies only to Frameset objects of type wdFramesetTypeFrameset. For more information on creating frames pages, see Creating Frames Pages.

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
Show: