SortOrder
type SortOrder = xlAscending | xlDescending
Description
Specifies the sort order.
Try It
oWorksheet.GetRange("A1:C5").SetSort("A1:A5", "xlAscending", "B1:B5", "xlDescending", "C1:C5", "xlAscending", "xlYes", "xlSortColumns");
type SortOrder = xlAscending | xlDescending
Specifies the sort order.
oWorksheet.GetRange("A1:C5").SetSort("A1:A5", "xlAscending", "B1:B5", "xlDescending", "C1:C5", "xlAscending", "xlYes", "xlSortColumns");