Frameset.FrameName 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 or sets the name of the specified frame on a frames page. Read/write String.

expression .FrameName

expression A variable that represents a Frameset object.

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

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

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