返回或设置滚动条位置占文档宽度的百分比。Long 类型,可读写。
本示例显示活动窗口水平滚动的百分比。
MsgBox _
ActiveDocument.ActiveWindow.HorizontalPercentScrolled & "%"
本示例将 Document1 窗口的活动窗格水平滚动至最左边。
With Windows("Document1")
.Activate
.ActivePane.HorizontalPercentScrolled = 0
End With