The Key1 part needs to be a single cell:Quote:
Originally Posted by mp_robinson_uk
So we need to use Cells to assign one cell from the column:Code:Key1:=Range(LastCol)
Also since these are formulas the column won't sort since the data for the formulas has not changed. You can sort all the data if you wanted instead of just the one column and leave the Key1 the same to sort by that column.Code:Key1:=Range(Cells(1,LastCol).Address)