vba: setting font color to entire sheet

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.
 
C

Chip Pearson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top