#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 470
Default Color Chart

Where can I find a color chart to reference when programming in VBA? I need
to program BACKCOLOR.RGB for various textboxes, but I do not know the numbers
to enter.

Thanks,
Les
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Color Chart

What I do is color the control in the VB Editor window using the Palette
dropdown thingie in the Properties pane, then see what hex number is
inserted into the Backcolor property box. This can be copied and pasted into
your code.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"WLMPilot" wrote in message
...
Where can I find a color chart to reference when programming in VBA? I
need
to program BACKCOLOR.RGB for various textboxes, but I do not know the
numbers
to enter.

Thanks,
Les



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Color Chart

On worksheet Turn on Tools - Macro - Record Macro. Then select colors that
you like. Stop recording and get the numbers from the recorded macro.

"WLMPilot" wrote:

Where can I find a color chart to reference when programming in VBA? I need
to program BACKCOLOR.RGB for various textboxes, but I do not know the numbers
to enter.

Thanks,
Les

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Color Chart

Kind of along similar lines to Jon's suggestion, add a shape to the sheet,
Format/Colors & Lines/ Fill - More colours.

'Make' your desired colour and under the custom colour-picker grab the RGB
values.

Regards,
Peter T

"WLMPilot" wrote in message
...
Where can I find a color chart to reference when programming in VBA? I

need
to program BACKCOLOR.RGB for various textboxes, but I do not know the

numbers
to enter.

Thanks,
Les



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Color Chart

See David McRitchie's site for answers on the color palette.

http://www.mvps.org/dmcritchie/excel/colors.htm


Gord Dibben MS Excel MVP

On Fri, 11 Jan 2008 04:42:02 -0800, WLMPilot
wrote:

Where can I find a color chart to reference when programming in VBA? I need
to program BACKCOLOR.RGB for various textboxes, but I do not know the numbers
to enter.

Thanks,
Les




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 Chart - determining the color of a chart style Shane Devenshire[_2_] Charts and Charting in Excel 1 February 6th 10 04:09 AM
Chart color johnny Charts and Charting in Excel 1 August 17th 08 03:42 AM
Chart axes color index vs font color index [email protected] Charts and Charting in Excel 4 December 7th 06 04:05 PM
2 color bar chart? John Charts and Charting in Excel 1 March 22nd 06 09:47 PM
How do I connect cell color to bar chart color? Bob Freerks Charts and Charting in Excel 1 February 1st 05 10:23 PM


All times are GMT +1. The time now is 08:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"