I have following in my excel:
input column: sheet1
A 1 2
data column: sheet2
A B 1 pink [pink color bg] 2 yellow [yellow color bg]
I would like a VBA can preform:
when i input some value in sheet1(A), VBA will check if this value matches one values in sheet2(A), if positive, VBA will get the colour value which besides the matched one and automatic fill back to the cell I just input in sheet1 column A.
for example:
i input "pink" in A1, then the A1 will fill background as [Pink]
I input "black" in A2, as these is not matched value in sheet2, so msgbox popup "no match"
Thank you.
Bookmarks