ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   sorting dynamically (https://www.excelbanter.com/excel-programming/409345-sorting-dynamically.html)

geebee

sorting dynamically
 
hi,

i am trying to dynamically sort a column, but the column is bveing sorted in
DESC order. the problem is that there are some values of "no data" in a
column with mostly numbers or percentages in it. i want the "no data" values
to appear at the bottom of the sorted column after it is sorted in DESC
order. how can i do this with code?

i currently have:
Range("C8:D10856").Sort Key1:=Range("D8"), Order1:=xlDescending

thanks in advance,
geebee



All times are GMT +1. The time now is 12:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com