LargeScroll Method
Applies To
Pane object, Window object.
Description
Scrolls the contents of the window by pages.
Syntax
expression.LargeScroll(Down, Up, ToRight, ToLeft)
expression Required. An expression that returns a Window object.
Down Optional Variant. The number of pages to scroll the contents down.
Up Optional Variant. The number of pages to scroll the contents up.
ToRight Optional Variant. The number of pages to scroll the contents to the right.
ToLeft Optional Variant. The number of pages to scroll the contents to the left.
Remarks
If Down and Up are both specified, the contents of the window are scrolled by the difference of the arguments. For example, if Down is 3 and Up is 6, the contents are scrolled up three pages.
If ToLeft and ToRight are both specified, the contents of the window are scrolled by the difference of the arguments. For example, if ToLeft is 3 and ToRight is 6, the contents are scrolled to the right three pages.
Any of the arguments can be a negative number.
See Also
SmallScroll method.
Example
This example scrolls the contents of the active window of Sheet1 down three pages.
Worksheets("Sheet1").Activate
ActiveWindow.LargeScroll down:=3