Pane.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 Pane object.

Example

This example horizontally scrolls the active pane of the window for Document1 all the way to the left.

Visual Basic for Applications
  With Windows("Document1")
    .Activate
    .ActivePane.HorizontalPercentScrolled = 0
End With

See Also