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

Window 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.