FrameDefaultURL Property

Microsoft Word Visual Basic

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.

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

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