Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Change formats based on A:A cell value on each row - (not with conditional format!) ?
Hi,
I need VBA code for this, I can't use the conditional format function of some reasons. Let ? = a row between 6 and 96 and cells in same row between column C:G should have different fonts, colorindex etc depending on what letter there is in the cell in A column. If A? = "K" then cells Range("C?:G?").ColorIndex = 1 If A? = "I" then cells Range("C?:G?").ColorIndex = 2 If A? = "R" then cells Range("C?:G?").ColorIndex = 3 Any suggestions? By the way, the fastest way possible please, the VBA code will be into worksheet_change. Maybe use "Find" rather than a Loop, maybe? /Regards |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Conditional Format based on another cell | Excel Discussion (Misc queries) | |||
Conditional Format based on a different cell | Excel Worksheet Functions | |||
Lock cell formats (conditional format) | Excel Worksheet Functions | |||
Conditional format: change row color based on cell value | Excel Discussion (Misc queries) | |||
Conditional Format to change entire row based on one cells data | Excel Discussion (Misc queries) |