Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I am writing a program that needs to get data. I will be combining a bunch of tables into one table. It might have about 8 columns. Programmatically I need to sort the columns. Not just a a single column. But by all the columns. I looked at this manual sort soln: http://support.microsoft.com/kb/268007 Is a pivot table the way to go? Or just run a sort with lots of Key<num=<location Range("A40:D48").Select Selection.Sort Key1:=Range("C40"), Order1:=xlAscending, Key2:=Range("B40" _ ), Order2:=xlAscending, Key3:=Range("A40"), Key3:=Range("D40"), Order3:=xlAscending, Header _ :=xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom _ , DataOption1:=xlSortNormal, DataOption2:=xlSortNormal, DataOption3:= _ xlSortNormal thanks for any input |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sorting several columns | Excel Discussion (Misc queries) | |||
freezing columns labels while sorting columns | New Users to Excel | |||
Sorting more than 3 columns | Excel Worksheet Functions | |||
help with sorting text in columns to match other columns | Excel Discussion (Misc queries) | |||
Sorting columns | Excel Discussion (Misc queries) |