Frameset.FrameScrollbarType property (Word)

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.

With ActiveDocument.ActiveWindow.ActivePane.Frameset 
 .FrameDefaultURL = "C:\Documents\Order.htm" 
 .FrameScrollBarType = wdScrollBarTypeYes 
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.