Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Format Text - Yes/No
I have a drop down box with YES/NO. I want to turn the text to RED if "Yes"
is selected and Blue if "No" is selected. How do I apply it to the one cell ? Thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Format Text - Yes/No
Hi
Have a look at Conditional formatting HTH Rob =================== "gibbylinks" wrote: I have a drop down box with YES/NO. I want to turn the text to RED if "Yes" is selected and Blue if "No" is selected. How do I apply it to the one cell ? Thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Format Text - Yes/No
or alternatively place the following in the vba for that sheet
Private Sub Worksheet_Change(ByVal Target As Range) If Range("E7").Value = "Yes" Then Range("E7").Font.Color = vbRed ElseIf Range("E7").Value = "No" Then Range("E7").Font.Color = vbBlue End If End Sub "gibbylinks" wrote: I have a drop down box with YES/NO. I want to turn the text to RED if "Yes" is selected and Blue if "No" is selected. How do I apply it to the one cell ? Thanks |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Format Text - Yes/No
I've looked at conditional formatting. I used to be able to fly this under
the old versions, but (sorry should have said) I'm using Office 2007 and I can't see how to apply it to jus tone cell !! Very confusing "Rob Wills" wrote: Hi Have a look at Conditional formatting HTH Rob =================== "gibbylinks" wrote: I have a drop down box with YES/NO. I want to turn the text to RED if "Yes" is selected and Blue if "No" is selected. How do I apply it to the one cell ? Thanks |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Format Text - Yes/No
Click on the cell, hit "Conditional Formatting" and "New Rule," go to "Format
only cells that contain," enter Specific Text: "Yes", set the format to Blue text, and hit ok. To see what the rule is, hit conditional formatting again and "Manage rules" where you'll see what the formatting applies to. "gibbylinks" wrote: I've looked at conditional formatting. I used to be able to fly this under the old versions, but (sorry should have said) I'm using Office 2007 and I can't see how to apply it to jus tone cell !! Very confusing "Rob Wills" wrote: Hi Have a look at Conditional formatting HTH Rob =================== "gibbylinks" wrote: I have a drop down box with YES/NO. I want to turn the text to RED if "Yes" is selected and Blue if "No" is selected. How do I apply it to the one cell ? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Help With A Conditional Text Format | Excel Discussion (Misc queries) | |||
Conditional Format of Text | Excel Discussion (Misc queries) | |||
conditional format for text | Excel Worksheet Functions | |||
conditional format text - please help! | New Users to Excel | |||
conditional format for text | Excel Worksheet Functions |