ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   color options (https://www.excelbanter.com/excel-discussion-misc-queries/3240-color-options.html)

Heather

color options
 
There is a very limited selection of colors for fill and text for that
matter. I'm looking to change the fill to a specific RGB color. Please advise
if this is possible

Thanks!!!

Harald Staff

Hi

Yes, possible. You are limited to 56 colors, and what you color with is a
color number from 1 to 56. Those 56 can be customized for each single file.
This RGB thing is easiest achieved with macro code, like this demo altering
color 45:

Sub test()
ThisWorkbook.Colors(45) = RGB(234, 251, 178)
Selection.Interior.ColorIndex = 45
End Sub

HTH. Best wishes Harald

"Heather" skrev i melding
...
There is a very limited selection of colors for fill and text for that
matter. I'm looking to change the fill to a specific RGB color. Please

advise
if this is possible

Thanks!!!




Bob Phillips

Heather,

You are limited to a 56 colour palette, but you can modify any colour in the
palette, ToolsOptionsColor - modify button.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Heather" wrote in message
...
There is a very limited selection of colors for fill and text for that
matter. I'm looking to change the fill to a specific RGB color. Please

advise
if this is possible

Thanks!!!





All times are GMT +1. The time now is 02:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com