Color for red cell

  • Thread starter Thread starter Kalaora luc
  • Start date Start date
K

Kalaora luc

In my Excel sheet i want that some cell red

r.Font.ColorIndex= ?;

What is the number for red color ?
luc
 
Hi,

You can record a simple macro for painting a cell into red color, and then
review the resultant VBA code to find out the color index.
 
Back
Top