NewFrameset Method

Microsoft Word Visual Basic

Creates a new frames page based on the specified pane.

expression.NewFrameset

expression    Required. An expression that returns 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