WaterSprite
Technical User
The Macro recorder gave me this:
[Range("A1:K11588").Sort Key1:=Range("A1"),]
The bottom row will not always be 11588, so,
Can I replace the hard coded range with:
[With Activesheet]
[.cells(1,1).currentregion.sort]
[Range("A1:K11588").Sort Key1:=Range("A1"),]
The bottom row will not always be 11588, so,
Can I replace the hard coded range with:
[With Activesheet]
[.cells(1,1).currentregion.sort]