LargeScroll Method

Microsoft PowerPoint Visual Basic

Scrolls through the specified document window by pages.

expression.LargeScroll(Down, Up, ToRight, ToLeft)

expression    Required. An expression that returns a DocumentWindow object.

Down    Optional Long. Specifies the number of pages to scroll down.

Up    Optional Long. Specifies the number of pages to scroll up.

ToRight    Optional Long. Specifies the number of pages to scroll right.

ToLeft    Optional Long. Specifies the number of pages to scroll left.

Remarks

If no arguments are specified, this method scrolls down one page. 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 pages. Similarly, if Right and Left are both specified, their effects are combined.

Any of the arguments can be a negative number.

Example

This example scrolls the active window down three pages.

Application.ActiveWindow.LargeScroll Down:=3