Share via


Window.LargeScroll Method

Scrolls the contents of the window by pages.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function LargeScroll ( _
    Down As Object, _
    Up As Object, _
    ToRight As Object, _
    ToLeft As Object _
) As Object
'Usage
Dim instance As Window
Dim Down As Object
Dim Up As Object
Dim ToRight As Object
Dim ToLeft As Object
Dim returnValue As Object

returnValue = instance.LargeScroll(Down, _
    Up, ToRight, ToLeft)
Object LargeScroll(
    Object Down,
    Object Up,
    Object ToRight,
    Object ToLeft
)

Parameters

  • Down
    Type: System.Object

    Optional Object. The number of pages to scroll the contents down.

  • Up
    Type: System.Object

    Optional Object. The number of pages to scroll the contents up.

  • ToRight
    Type: System.Object

    Optional Object. The number of pages to scroll the contents to the right.

  • ToLeft
    Type: System.Object

    Optional Object. The number of pages to scroll the contents to the left.

Return Value

Type: System.Object

Remarks

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 pages.

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 pages.

Any of the arguments can be a negative number.

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Excel Namespace