vba: setting font color to entire sheet

  • Thread starter Thread starter chick-racer
  • Start date Start date
C

chick-racer

Hello,

What i've typed doesnt work, and i'm wondering if i could have advic
on how to set the entire worksheet to default font color.

right now i have

Worksheets(1).font.colorindex=xlautomatic

what is it supposed to be???

thanks guys.
 
Try the following to set the ColorIndex of all cells to
xlColorIndexAutomatic

ActiveSheet.Cells.Font.ColorIndex = xlColorIndexAutomatic


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
Back
Top