sort highlighted rows

kbreen

New Member
Joined
Aug 26, 2002
Messages
7
How can I sort a list by already highlighted rows? Since it's a fairly large list(4K)and because these highlighted rows are interspersed with non-highlighted rows, I'd hate to have to individually cut and paste all of them into a seperate sheet. Is there any solution?
Thx, Kev
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Jim North

MrExcel MVP
Joined
Jun 20, 2002
Messages
791
Hello Kev,

Could you give us a more detailed explanation, giving an example? At the moment it doesn't sound doable, but maybe someone here will have a answer or different approach for you.
 

NateO

Legend
Joined
Feb 17, 2002
Messages
9,700
Howdy Dave Hawley provides a link to and overview here:

http://www.mrexcel.com/board/viewtopic.php?topic=14605&forum=2

The loop may be a little overkill if you don't care about the order. Follow Dave's instructions on how to use a user defined function at his "Sort" link.

Here's a simplified function and examples:<pre>
Function Clr(myRng As Range)
Clr = myRng.Interior.ColorIndex
End Function</pre>
Book2
ABCD
16
243
38
4-4142
535
66
736
87
98
10-4142
1143
1235
PreSort
Book2
ABCD
1-4142
2-4142
36
46
57
68
78
835
935
1036
1143
1243
PostSort


Hope you're talking about standard formatting and that this helps.

_________________
Cheers,<font size=+2><font color="red"> Nate<font color="blue"> Oliver</font></font></font>
This message was edited by NateO on 2002-10-03 16:13
 

kbreen

New Member
Joined
Aug 26, 2002
Messages
7
On 2002-10-03 16:11, NateO wrote:
Howdy Dave Hawley provides a link to and overview here:

http://www.mrexcel.com/board/viewtopic.php?topic=14605&forum=2

The loop may be a little overkill if you don't care about the order. Follow Dave's instructions on how to use a user defined function at his "Sort" link.

Here's a simplified function and examples:<pre>
Function Clr(myRng As Range)
Clr = myRng.Interior.ColorIndex
End Function</pre>
Book2
ABCD
16
243
38
4-4142
535
66
736
87
98
10-4142
1143
1235
PreSort
Book2
ABCD
1-4142
2-4142
36
46
57
68
78
835
935
1036
1143
1243
PostSort


Hope you're talking about standard formatting and that this helps.

_________________
Cheers,<font size=+2><font color="red"> Nate<font color="blue"> Oliver</font></font></font>
This message was edited by NateO on 2002-10-03 16:13
 

Forum statistics

Threads
1,144,743
Messages
5,726,025
Members
422,654
Latest member
Yashpalknl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top