LargeScroll Method

Applies To

Pane Object, Window Object.

Description

Scrolls the window by pages.

Syntax

object.LargeScroll(down, up, toRight, toLeft)

object

Required. The window to scroll.

down

Optional. The number of pages to scroll the window down.

up

Optional. The number of pages to scroll the window up.

toRight

Optional. The number of pages to scroll the window right.

toLeft

Optional. The number of pages to scroll the window left.

Remarks

If down and up are both specified, the window is scrolled by the difference of the arguments. For example, if down is three and up is six, the window is scrolled up three pages.

If toLeft and toRight are both specified, the window is scrolled by the difference of the arguments. For example, if toLeft is three and toRight is six, the window is scrolled right three pages.

Any of the arguments can be a negative number.

See Also

SmallScroll Method.

Example

This example scrolls the active window of Sheet1 down three pages.


Worksheets("Sheet1").Activate
ActiveWindow.LargeScroll down:=3