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
Rng
Type: Microsoft.Office.Interop.Excel.RangeSpecifies the range for the Sort collection.