Pane.NewFrameset Method

Word Developer Reference

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

Visual Basic for Applications
  Documents.Open "C:\Documents\Temp.doc"
ActiveDocument.ActiveWindow.ActivePane.NewFrameset

See Also