View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Mark Dullingham Mark Dullingham is offline
external usenet poster
 
Posts: 92
Default Conditional Format via Macro?

You can do this with conditional formatting quite easily using -

Cell Value Is equal to $A$1

Then choose your Font style and colour and then your pattern colour.

If you highlight all the cells first, the formatting will be applied to all.

"Jim" wrote:

I have a spreadsheet with the current month (March) in cell A1. I have a
column for each month within the spreadsheet.

For example: A1 = March. B3:M3 = January-December.

I want to create a macro (or conditional formating, if possible) that will
change the fill and font colors of the month's column that is listed in A1.

Is this possible? Thanks!