Window.SmallScroll (Excel)

Scrolls the contents of the window by rows or columns.

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 rows. 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 columns. Any of these arguments can be a negative number.

SmallScroll (Down, Up, ToRight, ToLeft)


ActiveWindow.SmallScroll down:=3

Arguments

Optional arguments

The following arguments are optional

Down (Long) - The number of rows to scroll the contents down.

Up (Long) - The number of rows to scroll the contents up.

ToRight - The number of columns to scroll the contents to the right

ToLeft (Long) - The number of columns to scroll the contents to the left.