Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
I need a macro that will change the color of a cell #1 when a Y o.
Any reason why you want to do this by a Macro?
My first instinct would be to use conditional formatting (Format/Conditional Formatting .. from the menu bar) on cell #1, wherein condition 1 would be set to =cell2_ref="Y" (substitute actual cell2_ref or name of that cell as appropriate) and set the foreground and background colours as desired by clicking on Format button in the conditional format dialog box. "David Campbell" <David wrote in message ... I need a Macro in Excel that will change the color of cell #1 when a Y or N is entered into cell #2. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Change the Color of a Cell through a Macro | Excel Discussion (Misc queries) | |||
Macro to change cell color | Excel Discussion (Misc queries) | |||
Macro To Change Cell Color (Continued) | Excel Worksheet Functions | |||
Macro To Change Cell Color When Value Changes | Excel Worksheet Functions | |||
Macro to change cell text color | Excel Discussion (Misc queries) |