Frameset.FrameName property (Word)

Returns or sets the name of the specified frame on a frames page. Read/write String.

Syntax

expression. FrameName

expression A variable that represents a 'Frameset' object.

Remarks

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

Example

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

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

See also

Frameset Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.