sort by font format?

Roni

Board Regular
Joined
Apr 2, 2002
Messages
231
is it possible to sort Excel file rows based on the formatting. I have a long list of information, and some rows are in STRIKE THROUGH font (b/c they need to be removed). Is there a way I can sort the whole list having all the STRIKE THROUGH rows end up at the end (or the beginning)? and on the same note, can I also sort by font color? (in addition to the strike throughs, i also have a number of rows in RED FONT that would be nice to have all together).
 
OHHHHHHHHH, I finally sorted it out... I can't do that in a SHARED file. once i took the SHARING off, it worked perfectly. god was that frustrating. thanks for all your help'
 
Upvote 0

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
yes that's how i was deleting modules. but i can't tell if i got rid of all of them. Erik, if i use your code, do i still use the same formula in the online text (=ColorIndexOfCell(A1,TRUE,TRUE) and how can i tell if the code is checking font color? i want it to check font color.
I told you it is currently set to font color
there are some numbers which correspond to some settings
the list is within the macro

this macro is not a function (so cannot be used this way with a formula on the sheet)
it is a SUB which does some actions on your sheet
you can read about in the helpfiles ...
... and of course ...
on the Board !

enjoy :wink:
Erik
 
Upvote 0

Forum statistics

Threads
1,216,217
Messages
6,129,570
Members
449,518
Latest member
srooney

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
Back
Top