excel - Automatically copy a cells colour to another cell -
this simple problem can't seem find solution. use 3 different cell styles (good,neutral , bad). want want cell adjacent 1 colour coded same colour. example cell o11 selected (green colour), hence cell m11 should automatically change cell style according cell o11.
any suggestions?
p.s o11 set manually (no conditional formatting)
to solve problem need create variable hold cells color value , set value cell. use following example:
sub copy_color()
dim icolor long
dim long
for = 11 20 icolor = worksheets("sheet name").range("m" & i).interior.color worksheets("sheet name").range("o" & i).interior.color = icolor next
end sub
Comments
Post a Comment