Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello -
I have the following code which, I think, will sort my spreadsheet from row 5 down by column I. Worksheets("JCW").Range("A4:M65536").Sort _ Key1:=Worksheets("JCW").Range("i5"), Order1:=xlDescending, Header:= _ xlYes, MatchCase:=False, Orientation:=xlTopToBottom, _ DataOption1:=xlSortTextAsNumbers 2 problems... 1) All of the blank cells go to the top of the list, I would like these on the bottom 2) I defined the entire workbook as a range, can the code be written to only sort what is actually on the worksheet? Thanks for any assistance, Dan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why is a descending sort putting blank cells first? | Excel Worksheet Functions | |||
sort and blank cells problem | Excel Worksheet Functions | |||
Sort when I have blank cells | Excel Discussion (Misc queries) | |||
Apply bottom border only on filled cells, leaves blank cells without border? | Excel Programming | |||
sort blank cells first instead of last | Excel Programming |