patrickdrd
Programmer
Hi guys! I am using the following command in vba to sort some numeric data in an excel sheet (this was the macro recorder's output).
However this command does not work in Visual Basic 6.0, how could I make it work? (It is a VBA Command!)
Selection.Sort Key1:=Range("B2"), Order1:=xlDescending, _
Header:=xlGuess, OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom
Thanks in advance!
However this command does not work in Visual Basic 6.0, how could I make it work? (It is a VBA Command!)
Selection.Sort Key1:=Range("B2"), Order1:=xlDescending, _
Header:=xlGuess, OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom
Thanks in advance!