DocumentWindow.SmallScroll Method (PowerPoint)
Scrolls through the specified document window by lines and columns.
Syntax
expression .SmallScroll(Down, Up, ToRight, ToLeft)
expression A variable that represents a DocumentWindow object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Down |
Optional |
Long |
Specifies the number of lines to scroll down. |
Up |
Optional |
Long |
Specifies the number of lines to scroll up. |
ToRight |
Optional |
Long |
Specifies the number of columns to scroll right. |
ToLeft |
Optional |
Long |
Specifies the number of columns to scroll left. |
Remarks
If no arguments are specified, this method scrolls down one line. If Down and Up are both specified, their effects are combined. For example, if Down is 2 and Up is 4, this method scrolls up two lines. Similarly, if ToRight and ToLeft are both specified, their effects are combined.
Any of the arguments can be a negative number.
Example
This example scrolls down three lines in the active window.
Application.ActiveWindow.SmallScroll Down:=3