VBA colorscale and color #

  • Thread starter Thread starter mistus
  • Start date Start date
M

mistus

hi,
i have a colorscale (conditional formating ) in range A1:A20 and I'm
trying to get color number for each cell. In normal case

a = Range("a1").Interior.Color
b= Range("a2").Interior.Color etc.

works fine.
But when colors of cells are from conditional formating i dont know
how to get color number.
how to do that?
Mistus
 
See my post, that site covers formulae as well.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
For what it's worth, if my VBA code needs to worry about the CF
coloring in a cell, I just make the same tests in VBA as I do in the
CF and go from there.

Mark Lincoln
 

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

Back
Top