Pane.NewFrameset method (Word)

Creates a new frames page based on the specified pane.

Syntax

expression. NewFrameset

expression Required. A variable that represents a 'Pane' object.

Remarks

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

Example

This example opens a document named "Temp.doc" and then creates a new frames page whose only frame contains "Temp.doc".

Documents.Open "C:\Documents\Temp.doc" 
ActiveDocument.ActiveWindow.ActivePane.NewFrameset

See also

Pane 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.