VBA Conditional formatting

  • Thread starter Thread starter Steven E.
  • Start date Start date
S

Steven E.

I can change the conditional formats of cells with the
FormatConditions Object. But is it possible to get the conditional
formats from a cell in Excel to show them in VBA?
 
? activeCell.FormatConditions(1).Formula1
5000
? activeCell.FormatConditions(1).Formula1
5000
? activeCell.FormatConditions(1).Operator
1

But See Chip Pearson's page on Conditional Formatting Colors

The code there will show you how to interpret the formulas.

http://www.cpearson.com/excel/CFColors.htm
 

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