Robert has attended:
Project Introduction course
Project Intermediate course
Excel and VBA Antony
I am tryig to carry out conditional formatting in VBA. Colouring cells background when certain conditions are met.
When the macro is run through first time it works when run through again it returns "Run time Error '1004' Unable to set Color Index property of he interior class"
How do I stop this happening.
RE: Excel and VBA Antony
Hi Robert. Are you protecting the worksheet? If so, have a look at this:
http://www.mrexcel.com/forum/showthread.php?17600-Setting-ColorIndex-On-Protected-Sheet
Hope this helps,
Anthony