Hi, I have some VBA code in a macro I'm running going wrong. I'm a bit of a beginner at this, I didn't write the macro but this is the stage at which the debugger highlights that something is going wrong:Application.StatusBar = "sorting..."Worksheets(1).Range("A" & startrow & ":Z" & lastrow).Sort _ Key1:=Worksheets(1).Range("B:B"), _ Key2:=Worksheets(1).Range("A:A")Can anyone help?Thanks a million