Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
How do I change the color in a cell. something like.... after this... xlBook.Worksheets(3).Range("A1") = Date() i want to do something like this.... xlBook.Worksheets(3).Range("A1").forecolor = Red thanks in advance, bob mcclellan |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() With (range object).Interior .ColorIndex = 35 .Pattern = xlSolid .PatternColorIndex = xlAutomatic End With "John 3:16" wrote: Hi, How do I change the color in a cell. something like.... after this... xlBook.Worksheets(3).Range("A1") = Date() i want to do something like this.... xlBook.Worksheets(3).Range("A1").forecolor = Red thanks in advance, bob mcclellan |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
xlBook.Worksheets(3).Range("A1").interior.color = vbRed
or .... .color = RGB(255,0,0) Tim -- Tim Williams Palo Alto, CA "John 3:16" wrote in message ... Hi, How do I change the color in a cell. something like.... after this... xlBook.Worksheets(3).Range("A1") = Date() i want to do something like this.... xlBook.Worksheets(3).Range("A1").forecolor = Red thanks in advance, bob mcclellan |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Great !
thanks guys... I really appreciate it. bob mcclellan "John 3:16" wrote in message ... Hi, How do I change the color in a cell. something like.... after this... xlBook.Worksheets(3).Range("A1") = Date() i want to do something like this.... xlBook.Worksheets(3).Range("A1").forecolor = Red thanks in advance, bob mcclellan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change tab color based on current color of a cell | Excel Discussion (Misc queries) | |||
Can you change the color of one cell based on the color of another | Excel Discussion (Misc queries) | |||
Excel: Syntax to change cell color based on color of another cell | Excel Worksheet Functions | |||
How to change the default Border, Font Color, and Cell Color | Excel Discussion (Misc queries) | |||
Browse Forms Controls and change TextBox color based on cell color | Excel Programming |