By using listi.net you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

listi.net

 


Interior.Color

This is the fill color to use.

This can be determined by:
  • Record a Macro
  • Fill a cell with a color
  • Stop the Macro
  • Examine the generated VBA code

    The value could be generated by the RGB function (Red Green Blue) which takes 3 parameters of number from 1 to 255.

    In the
    Immediate Window


    cells(1,1).interior.color = RGB(22,33,44)



  • blog comments powered by Disqus