Frameset.FrameDefaultURL property (Word)

Returns or sets the webpage 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".

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

See also

Frameset Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.