AddNewFrame Method

See Also         Example         Applies To

Adds a new frame to a frames page.

Syntax

expression.AddNewFrame(Where)

expression   Required. An expression that returns a Frameset object.

Where   Required Long. Sets the location where the new frame is to be added in relation to the specified frame. Can be one of the following WdFramesetNewFrameLocation constants: wdFramesetNewFrameAbove, wdFramesetNewFrameBelow, wdFramesetNewFrameLeft, or wdFramesetNewFrameRight.

Remarks

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