Hi,
I got the following code by recording a macro. Is it possible to dynamically assign the range values for Key1:=Range("E20"
? i.e. I would like to change E20 value dynamically. If so, what is the correct syntax? Please help! I am stuck!
Range("A20:U94"
.Sort Key1:=Range("E20"
, Order1:=xlAscending, Header:= _
xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
I got the following code by recording a macro. Is it possible to dynamically assign the range values for Key1:=Range("E20"
Range("A20:U94"
xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal