Window.HorizontalPercentScrolled Property (Word)

Returns or sets the horizontal scroll position as a percentage of the document width. Read/write Long.

Syntax

expression .HorizontalPercentScrolled

expression A variable that represents a Window object.

Example

This example displays the percentage that the active window is scrolled horizontally.

MsgBox _ 
 ActiveDocument.ActiveWindow.HorizontalPercentScrolled & "%"

See Also

Concepts

Window Object

Window Object Members