Hi everyone,
As I am still pretty new to this VBA-coding, I'm still strugling with simple pieces of codes.
My input on a given sheet is a matrix of different values on RGB-scale.
I would like to run a macro to colour the background of the cell according to its value (starting at A2). As I was unable to colour the background, I coloured the text instead.
As the matrix is larger than this, and contains other colour codes, I would like to adjust the cell values. This is a simplified version of my matrix
(Simple) input:
<tbody>
</tbody>
Desired output
<tbody>
</tbody>
Thanks,
Floris
As I am still pretty new to this VBA-coding, I'm still strugling with simple pieces of codes.
My input on a given sheet is a matrix of different values on RGB-scale.
I would like to run a macro to colour the background of the cell according to its value (starting at A2). As I was unable to colour the background, I coloured the text instead.
As the matrix is larger than this, and contains other colour codes, I would like to adjust the cell values. This is a simplified version of my matrix
(Simple) input:
Blue | Green | Yellow |
135, 195, 231 | 207, 223, 153 | 254, 243, 157 |
0, 140, 208 | 151, 191, 13 | 255, 237, 0 |
0, 56, 113 | 103, 135, 19 | 180, 164, 0 |
<tbody>
</tbody>
Desired output
Blue | Green | Yellow |
135, 195, 231 | 207, 223, 153 | 254, 243, 157 |
0, 140, 208 | 151, 191, 13 | 255, 237, 0 |
0, 56, 113 | 103, 135, 19 | 180, 164, 0 |
<tbody>
</tbody>
Thanks,
Floris