How do i use Excel.Rows.Sort ? RRS feed

  • Question

  • I need to sort specific rows in my worksheet by the first column in the worksheet.

    I tried it by calling:

    wsResultTop.Rows.Sort(wsResultTop.Range("A5", "A13"), Excel.XlSortOrder.xlAscending)

    but i don't even know what im doing...

    Does any one know how to handle this? Where do i have to define the range of the rows i'd like to have sorted, and where do i define the range of cells by which i'd like to sort them? 

    • Moved by Youen Zen Tuesday, July 9, 2013 7:03 AM
    Wednesday, June 5, 2013 3:04 PM