>How do you get a rgb string ("125,125,125") from a number.
>ex:
>myColor = RGB(100,100,0)
>myRGBString = NumToRGB(mycolor)
>How do I do this?
>-John S. Huddleston
Hi John,
Foxtools has a function to convert this value for you. After you set the library, you can use:
= RGBComp(nRGBColor, @nRedVal, @nGreenVal, @nBlueVal)
nRBGColor is the value to convert, the nRedVal, etc. will contain the results, but must be passed by reference.
How are things in Chicago? Man, I could go for an Italian Beef.:-)
hth,
George
Ubi caritas et amor, deus ibi est