Pane.TOCInFrameset Method
Word Developer Reference |
Creates a table of contents based on the specified document and puts it in a new frame on the left side of the frames page.
Syntax
expression.TOCInFrameset
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 file named "Proposal.doc", creates a frames page based on the file, and adds a frame (on the left side of the page) containing a table of contents for the file.
Visual Basic for Applications |
---|
|
See Also