Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Ok fixed my own problem, just added an ActiveSheet. in front of the Range in the selection statement and that solved it. Selection.Sort Key1:=ActiveSheet.Range("C7"), Order1:=xlAscending, Header:=xlGuess, _ OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom -- Krager ------------------------------------------------------------------------ Krager's Profile: http://www.excelforum.com/member.php...o&userid=20936 View this thread: http://www.excelforum.com/showthread...hreadid=401705 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sorting Spreadsheet Selection - Recurring Sort | Excel Worksheet Functions | |||
How can I sort a selection of cells into random order? | Excel Discussion (Misc queries) | |||
Macro - Data Sort -Variable Selection | Excel Discussion (Misc queries) | |||
Selection.Sort not working? | Excel Programming | |||
Need a macro for selection and sort | Excel Programming |