Sort.SetRange(Range) Method

Definition

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

public:
 void SetRange(Microsoft::Office::Interop::Excel::Range ^ Rng);
public void SetRange (Microsoft.Office.Interop.Excel.Range Rng);
Public Sub SetRange (Rng As Range)

Parameters

Rng
Range

Specifies the range for the Sort collection.

Applies to