Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm having trouble with the sort method, but no clue as to why. Here is my
code: With Sheets("Sheet1").Range("A1:B23") .Sort key1 = Sheets("Sheet1").Range("B1") End With I've also tried just Sheets("Sheet1").Range("A1:B23").Sort but I'm continually getting a Sort Method of Range Class Failed error. I just want to sort the range I am going to use to populate a listbox. If I select the range then sort the selection it seems to work, but I didn't think I had to select a range to be able to use the sort method. Any help? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sort Method more than 3 cols | Excel Programming | |||
Using the Sort Method | Excel Programming | |||
Sort Method question | Excel Programming | |||
Sort Method | Excel Programming | |||
Sort method of range | Excel Programming |