Share via


Frameset.FrameDefaultURL Property

Word Developer Reference

Returns or sets the Web page or other document to be displayed in the specified frame when the frames page is opened. Read/write String.

Syntax

expression.FrameDefaultURL

expression   A variable that represents a Frameset object.

Remarks

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

Example

This example sets the specified frame to display a local file named "Order.htm".

Visual Basic for Applications
  With ActiveDocument.ActiveWindow.ActivePane.Frameset
    .FrameDefaultURL = "C:\Documents\Order.htm"
    .FrameLinkToFile = True
End With

See Also