Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Difficult Excel Conditional Formatting Question

Status
Not open for further replies.

wkilgroe

MIS
Oct 2, 2002
10
0
0
US
I have an Excel Add-in in which I need to be able to tell if a cell background color has been modified due to conditional formatting. I thought that I could check the value of "Application.Worksheets(sheet).Cells(Row, column).Interior.ColorIndex" but the value for this always stays at the value for "No Color" rather than changing when conditional formatting has altered the color. Interestingly, if I manually change the background color, checking "Application.Worksheets(sheet).Cells(Row, column).Interior.ColorIndex" will work correctly. Is this just a flaw of Excel? Any ideas?

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top