Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all -
Is there a way to change font color and background shading color through code using RGB? I know in word it can be done through the Fonts/ Border and Shading option. Can you share some thoughts? Thanks in advance, Ben |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Range("A3").Font.Color = RGB(250, 125, 125)
Range("A3").Interior.Color = RGB(150, 250, 100) See also: http://www.mvps.org/dmcritchie/excel/colors.htm "Ben" wrote in message ... Hi all - Is there a way to change font color and background shading color through code using RGB? I know in word it can be done through the Fonts/ Border and Shading option. Can you share some thoughts? Thanks in advance, Ben |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi JLGWhiz,
Thanks for your suggestion. It worked very nicely. Thanks, Ben On 5/4/2010 2:27 PM, JLGWhiz wrote: Range("A3").Font.Color = RGB(250, 125, 125) Range("A3").Interior.Color = RGB(150, 250, 100) See also: http://www.mvps.org/dmcritchie/excel/colors.htm wrote in message ... Hi all - Is there a way to change font color and background shading color through code using RGB? I know in word it can be done through the Fonts/ Border and Shading option. Can you share some thoughts? Thanks in advance, Ben |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Checkbox to change background color, font color and remove/ add bo | Excel Discussion (Misc queries) | |||
how can I conditionally change font color, or background color? | Excel Worksheet Functions | |||
Cell background color (interior color) setting not working | Excel Programming | |||
Default Border, Font Color, and Cell Background Color | Excel Discussion (Misc queries) | |||
Excel 2003 Font Color and Background Color | Excel Discussion (Misc queries) |