Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to create a macro to sort 659 rows by 46 columns. The rows contain
numeric values that need to be sorted for lowest (left) to highest (right). When I sort manually left to right, the values for every row are not sorted correctly. Additionally when I sort manually, the left column in some rows are blank. This is a spreadsheet that has cells that have been manually updated. Macro below Sub SortLefttoRight() ' ' SortLefttoRight Macro ' Macro recorded 12/1/2007 by Carlton A. Barlow ' ' Range("G15:AZ673").Select Range("AZ673").Activate Selection.Sort Key1:=Range("G15"), Order1:=xlAscending, Header:=xlGuess, _ OrderCustom:=1, MatchCase:=False, Orientation:=xlLeftToRight, _ DataOption1:=xlSortNormal End Sub All help is greatly appreciated |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sort Left-Right & Up-Down | Excel Worksheet Functions | |||
How do I create a Macro to sort data and insert blank rows & subto | Excel Worksheet Functions | |||
sorting alpha numeric list by first left digit | New Users to Excel | |||
Sort Macro to Exclude Blank Rows? | Excel Worksheet Functions | |||
Sort Left to Right | Excel Discussion (Misc queries) |