RGB to fill color in excel vba -


i have task generate color code . have r g b values listed in 3 different columns , there around 256 rows of r g b values. need fill color corresponding r g b values in each row.

list

this how has been listed . , require generate corresponding color code next this

sub changerowcolorbasedonatocrgbvalues() dim lrw long  lrw = cells(rows.count, "a").end(xlup).row  = 1 lrw     range("a" & i).entirerow.interior.color = _         rgb(cells(i, "a").value, cells(i, "b").value, cells(i, "c").value) next  end sub 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -