Window.VerticalPercentScrolled Property (Word)

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

Syntax

expression .VerticalPercentScrolled

expression Required. A variable that represents a Window object.

Example

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

MsgBox ActiveDocument.ActiveWindow.VerticalPercentScrolled & "%"

This example scrolls the active window vertically by 10 percent.

Set aWindow = ActiveDocument.ActiveWindow 
aWindow.VerticalPercentScrolled = _ 
 aWindow.VerticalPercentScrolled + 10

See Also

Concepts

Window Object Members

Window Object