Thought I would tag along with this thread since my
question also deals with using Header Rows while Sorting.
In my case, I created a macro that references a named
range, and sorts that range. It works about 50% of the
time, when Excel "guesses" that I have a Header row, and
doesn't sort the first row when Excel guesses wrong that I
don't have a Header Row. The sort statement in my macro
is:
Selection.Sort Key1:=Range("D3"), Order1:=xlAscending,
Key2:=Range("E3") _
, Order2:=xlAscending, Key3:=Range("K3"),
Order3:=xlAscending, Header:= _
xlGuess, OrderCustom:=1, MatchCase:=False,
Orientation:=xlTopToBottom
Does anyone know what I should change so that the sort
Always uses a Header row?
Thanks,
Bryan