>Okay doesn't ask why, we just need to do it. We want to take a color value and return the 3 color numbers that the RGB()function uses.
>
> rgb(255,200,100) returns 6605055
> We want to pass 6605055 to a function and get 255,200,100 returned.
>
>Thanx.
nRed=nColor%256
nGreen=int((nColor%65536)/256)
nBlue=int(nColor/65536)
Edward Pikman
Independent Consultant