Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to set the background of a cell in Excel depending on a condition.
I've tried two methods: If intVal = 3 Then CDRLWs.Range("a1").Font.Background = 3 End If If intVal = 3 Then CDRLWs.Range("a1").Font.Background = "Red" End If Neither are working. Any suggestions? Thanks in Advance! ~Elena |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Trouble setting background color of Worksheet | Excel Programming | |||
Need Help Setting background color in XLM Excel worksheets in Netscapeand Firefox browsers | Excel Programming | |||
Conditionally setting background color of a cell | Excel Discussion (Misc queries) | |||
Setting text as a background in cell | Excel Worksheet Functions | |||
Setting cell background color based on value | Excel Programming |