Window.HorizontalPercentScrolled Property

Word Developer Reference

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.

Visual Basic for Applications
  MsgBox _
    ActiveDocument.ActiveWindow.HorizontalPercentScrolled & "%"

See Also