Niniel,
Use Conditional Formatting. Select the rows. Note the active (white) cell of your
selection. Format - Conditional Formatting - Formula is:
=$A2 = "p"
This is for the case where the active cell of your selection was in row 2. Change the
reference to $A2 as appropriate. Click "Format" and select the Patterns tab, and the blue
color you want. OK. OK.
This is case insensitive. It will work for "P" and "p".
--
Regards from Virginia Beach,
Earl Kiosterud
www.smokeylake.com
Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
-----------------------------------------------------------------------
"Niniel" wrote in message
...
Hello,
I need a macro that will colour all rows in, say, neon blue, for all cells
in column A that contain the letter "P".
How could that be done?
Thank you.