vba - "custom" xlDescending ordering -
i have list of dates, "tbd". if order them so:
range("a6:i100").currentregion.sort key1:=range("a6"), order1:=xldescending, header:=xlguess
it orders "tbd" before actual dates. possible reverse this? want have dates - in descending order - first, , "tbd"s
thx
for sorting may try this:
dim sortarr1 variant sortarr1 = array("tbd") application.addcustomlist listarray:=sortarr1 range("a6:i100").sort key1:=range("a6"), order1:=xldescending, _ header:=xlguess, ordercustom:=application.customlistcount + 1 application.deletecustomlist application.customlistcount
Comments
Post a Comment