Thread: RGB values
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Benny Benny is offline
external usenet poster
 
Posts: 16
Default RGB values

I am attempting to write some code that will in excel fill a cell with a user
created colour using RGB values.

basically the user will enter in the red, green and blue values in 3
seperate cells then i want to know how to write some code to get those RGB
values into a fill pattern and fill a cell with it?

example - r=20, g=145, b=250; then the cell will be populated with the
colour those RGB values create.

any one out there with a solution for me? if its possible i would prefer to
want some code i can simply type into a cell, if its avoidable i dont want to
use macros.