sort by bold?

  • Thread starter Thread starter Joe Murphy
  • Start date Start date
J

Joe Murphy

Anyone have a macro that will allow me to sort by whether a cell is bold or
not? Using Excel2003.

Thanks,
JM
 
Joe,

You need a helper column, and use a UDF to determine if bold

Function IfBold(rng As Range)
IfBold = rng.Font.Bold = True
End Function

and in the adjacent column use

=IfBold(A1) and copy down.

Then sort on that column.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top