Link to home
Start Free TrialLog in
Avatar of eaglesview
eaglesview

asked on

changing cell color

Hello,
Is there a way to change the color of the background of a cell using MACRO in Excel?
I've tried using
    cells.background = vbGray
but it returns an error in properties..

thanks..
cris
ASKER CERTIFIED SOLUTION
Avatar of zhangjing
zhangjing

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eaglesview
eaglesview

ASKER

You got it right... thanks