Custom Colors

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Is there a way to make custom colors in an Excel sheet?

Outside of the color palette?

Not really. But this code will list all available to you:

<font face=Tahoma><SPAN style="color:#00007F">Public</SPAN> <SPAN style="color:#00007F">Sub</SPAN> GetColors()
    <SPAN style="color:#00007F">Dim</SPAN> x <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Integer</SPAN>
    
    Application.ScreenUpdating = <SPAN style="color:#00007F">False</SPAN>
        <SPAN style="color:#00007F">For</SPAN> x = 1 <SPAN style="color:#00007F">To</SPAN> 56
            Cells(x, 1) = x
            Cells(x, 2).Interior.ColorIndex = x
        <SPAN style="color:#00007F">Next</SPAN> x
    Application.ScreenUpdating = <SPAN style="color:#00007F">True</SPAN>

<SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN></FONT>

HTH,

Smitty

EDIT: Note that I think that's Erik's code. :)
 
Upvote 0
Hi,

see what you can do with menu TOOLS/options: tab "color"
(I've never used it: prefer to stick to the default colors)

kind regards,
Erik
 
Upvote 0
Hi,

see what you can do with menu TOOLS/options: tab "color"
(I've never used it: prefer to stick to the default colors)

kind regards,
Erik

Thanks Erik. Its not 100% custom but it's better than the standard pallet that's offered. Thanks, Matt
 
Upvote 0
you're welcome :)
what are you trying to do ?[/quote

I have a sheet with about 75 cols so keeping track of which data corresponds to others sometime get me dizzy. Color coding corresponding cols, which most times are not contiguous, but are related, makes it easier, and saves me from having to concentrate so intently, also cuts my errors. ...and it's pleasing to look at. When my wife looks over my shoulder she's impressed (what ever it takes I guess). Thanks for asking, Matt
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top