Hi, I have a sheet with 1002 rows of formulas pulling data in from other sheets, i then run a macro to sort the data (to get rid of blank rows and sort in number order), once this macro is run to sort the data im left with 103 rows of data (in this case).But the code posted is returing cell 1002 and not 103? Help me.