Keebler
Board Regular
- Joined
- Dec 1, 2021
- Messages
- 172
- Office Version
- 2021
- Platform
- Windows
is there a vba code that will change the formatting of a cell (cell background color, font color, etc) based on what color name the cell has in it, referencing a range?
for example
in cell G2:G20 I have a range of colors (RED, BLU, BLK, GRN, etc)
in another sheet (data) in range a5:e20 I have a vlookup table
col1 has the short name (3 letter - RED, BLU, GRN, etc)
col 2 has the full name (RED, BLU, GREEN, YELLOW, ETC)
col 3,4,5 have the RGB CODES (red, grn, blu)
for example
in cell G2:G20 I have a range of colors (RED, BLU, BLK, GRN, etc)
in another sheet (data) in range a5:e20 I have a vlookup table
col1 has the short name (3 letter - RED, BLU, GRN, etc)
col 2 has the full name (RED, BLU, GREEN, YELLOW, ETC)
col 3,4,5 have the RGB CODES (red, grn, blu)