ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Can RGB fill color be automated based on 3 cell values? (https://www.excelbanter.com/excel-discussion-misc-queries/255860-can-rgb-fill-color-automated-based-3-cell-values.html)

Jaclyn

Can RGB fill color be automated based on 3 cell values?
 
Is there any way to automatically adjust the fill color of a cell based on 3
values entered into 3 cells?

Specifically, if I have entered the values 100, 120, and 50 into cells A1,
A2, and A3, respectively, is there a way to automatically fill cell A4 with
the RGB color Red=100, Green=120, Blue=50?

מיכאל (מיקי) אבידן

Can RGB fill color be automated based on 3 cell values?
 
Maybe: [A4].Interior.Color = Evaluate(RGB([A1], [A2], [A3]))
Micky


"Jaclyn" wrote:

Is there any way to automatically adjust the fill color of a cell based on 3
values entered into 3 cells?

Specifically, if I have entered the values 100, 120, and 50 into cells A1,
A2, and A3, respectively, is there a way to automatically fill cell A4 with
the RGB color Red=100, Green=120, Blue=50?


Phil Hibbs

Can RGB fill color be automated based on 3 cell values?
 
micky wrote:
Maybe: [A4].Interior.Color = Evaluate(RGB([A1], [A2], [A3]))
Micky


You'd have to put that in a Worksheet_Change macro.

Phil Hibbs.


All times are GMT +1. The time now is 07:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com