PC Review


Reply
 
 
WLMPilot
Guest
Posts: n/a
 
      11th Jan 2008
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 With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      11th Jan 2008
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" <(E-Mail Removed)> wrote in message
newsF17E955-C907-40E9-8F0B-(E-Mail Removed)...
> 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 With Quote
 
Joel
Guest
Posts: n/a
 
      11th Jan 2008
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

 
Reply With Quote
 
Peter T
Guest
Posts: n/a
 
      11th Jan 2008
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" <(E-Mail Removed)> wrote in message
newsF17E955-C907-40E9-8F0B-(E-Mail Removed)...
> 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 With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      11th Jan 2008
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
<(E-Mail Removed)> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 Chart - determining the color of a chart style Shane Devenshire Microsoft Excel Charting 1 6th Feb 2010 04:09 AM
Color Chart Columns to Color Specified by a Cell Value Creamegg Microsoft Excel Discussion 0 23rd Jul 2008 04:27 PM
Chart axes color index vs font color index dennis.benjamin@gmail.com Microsoft Excel Charting 4 7th Dec 2006 04:05 PM
2 color bar chart? =?Utf-8?B?Sm9obg==?= Microsoft Excel Charting 1 22nd Mar 2006 09:47 PM
How do I connect cell color to bar chart color? =?Utf-8?B?Qm9iIEZyZWVya3M=?= Microsoft Excel Charting 1 1st Feb 2005 10:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:09 PM.