Hi,
I want to sort column E with descending order.
Here is what I have so far...which sorts it in ascending order.
![]()
Worksheets("Sheet1").Range("A1").CurrentRegion.Sort key1:=Worksheets("Sheet1").Range("E1")
SortByFrequency.xlsx
Hi,
I want to sort column E with descending order.
Here is what I have so far...which sorts it in ascending order.
![]()
Worksheets("Sheet1").Range("A1").CurrentRegion.Sort key1:=Worksheets("Sheet1").Range("E1")
SortByFrequency.xlsx
Look in Help for range.sort method to see the other arguments.
Entia non sunt multiplicanda sine necessitate
Thx,
Answer:
![]()
Worksheets("Sheet1").Range("A1").CurrentRegion.Sort key1:=Worksheets("Sheet1").Range("E1"), Order1:=xlDescending
Last edited by niko79542; 07-23-2012 at 04:20 PM. Reason: oops, pasted the wrong example
Help is your friend. Nothing you can read in a forum or a book can replace it.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks