Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Changing text color
If the syntax (.Pattern = xlSolid) highlights a cell to
the color you select. What syntax changes the text color? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Changing text color
for a range
Range("A1").Font.ColorIndex = 3 -- Regards, Tom Ogilvy "Shannon" wrote in message ... If the syntax (.Pattern = xlSolid) highlights a cell to the color you select. What syntax changes the text color? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Changing text color
It is in an If statement, i.e.
(If Cells(i, 9).Value < 1 And Cells(i, 9).Value < 0 Then With Cells(i, 9).Interior .Pattern = xlSolid .ColorIndex = 3 .PatternColorIndex = xlAutomatic End With End If) Instead of highlighting the box in the .Pattern = xlSolid I would like to change the text color to red. Shannon -----Original Message----- for a range Range("A1").Font.ColorIndex = 3 -- Regards, Tom Ogilvy "Shannon" wrote in message ... If the syntax (.Pattern = xlSolid) highlights a cell to the color you select. What syntax changes the text color? . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Changing text color
If Cells(i, 9).Value < 1 And Cells(i, 9).Value < 0 Then
With Cells(i, 9).Font .ColorIndex = 3 End With End If -- Regards, Tom Ogilvy "Shannon" wrote in message ... It is in an If statement, i.e. (If Cells(i, 9).Value < 1 And Cells(i, 9).Value < 0 Then With Cells(i, 9).Interior .Pattern = xlSolid .ColorIndex = 3 .PatternColorIndex = xlAutomatic End With End If) Instead of highlighting the box in the .Pattern = xlSolid I would like to change the text color to red. Shannon -----Original Message----- for a range Range("A1").Font.ColorIndex = 3 -- Regards, Tom Ogilvy "Shannon" wrote in message ... If the syntax (.Pattern = xlSolid) highlights a cell to the color you select. What syntax changes the text color? . |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Changing text color
Thank you.
Shannon -----Original Message----- If Cells(i, 9).Value < 1 And Cells(i, 9).Value < 0 Then With Cells(i, 9).Font .ColorIndex = 3 End With End If -- Regards, Tom Ogilvy "Shannon" wrote in message ... It is in an If statement, i.e. (If Cells(i, 9).Value < 1 And Cells(i, 9).Value < 0 Then With Cells(i, 9).Interior .Pattern = xlSolid .ColorIndex = 3 .PatternColorIndex = xlAutomatic End With End If) Instead of highlighting the box in the .Pattern = xlSolid I would like to change the text color to red. Shannon -----Original Message----- for a range Range("A1").Font.ColorIndex = 3 -- Regards, Tom Ogilvy "Shannon" wrote in message ... If the syntax (.Pattern = xlSolid) highlights a cell to the color you select. What syntax changes the text color? . . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Changing text color based upon If | Excel Discussion (Misc queries) | |||
dynamically changing text color | Excel Worksheet Functions | |||
Changing several cells text color | Excel Discussion (Misc queries) | |||
How to do if then statements changing color text? | Excel Discussion (Misc queries) | |||
Changing Text Color After Change | Excel Programming |