Posted 29 September 2023, 4:50 am EST
Sorts a range of rows in the sheet according to the specified parameters.
SortRows(startingrowIndex, No of Rows, sortInfo)
sortInfo Contains the Index of Column to be sorted and sorting order Info.
and spread Range given like
Row = 0
Col = Column to be sorted.
Row2 = no of Rows
Col2 = Column to be sorted or Number of Columns
I am trying to sort 3 rows 4 column out of 4 rows and 4 columns Data, but sorting is not working.
If any examples with SortRows will be helpful for my issue