Frameset.FrameScrollbarType Property

Word Developer Reference

Returns or sets when scroll bars are available for the specified frame when viewing its frames page in a Web browser. Read/write WdScrollbarType.

Syntax

expression.FrameScrollbarType

expression   Required. A variable that represents a Frameset object.

Remarks

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

Example

This example makes scroll bars always available for the specified frame, regardless of whether the contents of the frame require scrolling.

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

See Also