Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Color Green prints too dark-anyone know

Status
Not open for further replies.

Zonie32

Technical User
Jan 13, 2004
242
US
I have a report set with a status text box that actually shows color via some code using the vbRED or vbGreen, etc.
I set backcolor and forecolor using the vb

Green when printed in color, looks black. But in preview looks lime green. which is how i want it to print-lime green.

When i use vbGray, it prints and previews as black, but when I changed the code to 12632256, it goes to gray and prints perfectly in gray. Anyone know where I can find the numbers for the colors? thanks
 
What you want are VB Hex colors. I typed in VB Hex in Google and saw a lot of download apps that seemed like they might have the tools to translate the values for you. I use an app called Source Edit. It has a nice color chart that allow you to convert values to VB Hex (which Access translates into it's own brand of number). Look at something around
&H66CC00

Put that value on the line for your back or fore color and Access will change it to
6736896

Not sure where you will find a simple VB Hex Palatte.

Paul
 
Thanks PaulBricker for the tip. I'll check it out!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top