Share via


Sort.SetRange Method

Sets the starting and ending character positions for the Sort object.

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

Syntax

'Declaration
Sub SetRange ( _
    Rng As Range _
)
'Usage
Dim instance As Sort
Dim Rng As Range

instance.SetRange(Rng)
void SetRange(
    Range Rng
)

Parameters

See Also

Reference

Sort Interface

Sort Members

Microsoft.Office.Interop.Excel Namespace