LargeScroll Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Scrolls the contents of the window by pages. The size of the pages is determined by the number of rows and columns visible in the active window.

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 or ToRightand ToLeftare 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.

Any of the arguments can be a negative number.

Example

This example scrolls the contents of the active window of Spreadsheet1 down three pages and to the right two pages.

  Spreadsheet1.ActiveWindow.LargeScroll 3, ,2