Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Format a cell IF...
Would like to run a macro that would look at a row of
cells and if anything existed in it, then underline a different row. IF B3 CONTAINS "ANYTHING" THEN UNDERLINE A3 And do the above for the whole row or a set number. I know I have read this here before but cannot find an example. Thanks, Dave |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Format a cell IF...
Check out FORMATCONDITIONAL FORMATTING
Richard Choate "DRS" wrote in message ... Would like to run a macro that would look at a row of cells and if anything existed in it, then underline a different row. IF B3 CONTAINS "ANYTHING" THEN UNDERLINE A3 And do the above for the whole row or a set number. I know I have read this here before but cannot find an example. Thanks, Dave |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Format a cell IF...
You can do this with conditional formatting
In A3, set CF and use FormulaIs with a formula of =IF LEN(B3)0, and select format and choose underline. -- HTH Bob Phillips "DRS" wrote in message ... Would like to run a macro that would look at a row of cells and if anything existed in it, then underline a different row. IF B3 CONTAINS "ANYTHING" THEN UNDERLINE A3 And do the above for the whole row or a set number. I know I have read this here before but cannot find an example. Thanks, Dave |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Lock Cell Format - Allow copy and paste of data without format change | Excel Worksheet Functions | |||
cell format - remove cell format pattern without effecting colors | Excel Discussion (Misc queries) | |||
Can cell format come from and change with reference cell format | Excel Discussion (Misc queries) | |||
How do I copy data in single cell format to a merged cell format | Excel Discussion (Misc queries) |