LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Reading conditional format that is active in VB

I have some code that checks the Interior.ColorIndex of a cell and
acts upon the result. No problem.

I thought that I could alter the Pattern colour (i.e.
Interior.ColorIndex) with a conditional format. I have. No problem.

However the code that acts upon the Interior.ColorIndex does not
detect the changed ColorIndex when it is altered due to the
Conditional Formatting. It reads the value that is set when no
conditional formatting is active (even if it is).

So I need to detect for a conditional format as well. However
..FormatConditions method does not provide any way to read which if any
of the FormatConditions is currently active.

[Aside] Ideally .Interior would return what is currently the case due
to conditional formatting or not. Another method say .InteriorDefault
would yield what we are currently getting. Anyway this is not the case
so I'm fishing for a work around.

Any suggestions
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula not reading date format ziak Excel Discussion (Misc queries) 3 May 20th 10 09:41 PM
Cell format on reading .csv file sdawson Excel Discussion (Misc queries) 3 July 20th 09 06:09 PM
Conditional Format to Highlight the Active Cell Pawprint Excel Worksheet Functions 1 July 30th 08 09:03 PM
reading blank cell as active - how can I stop it ? Nu-bEE Excel Discussion (Misc queries) 1 March 20th 05 10:45 PM
Determining active conditional format of one cell Antonio[_3_] Excel Programming 1 November 27th 03 12:38 AM


All times are GMT +1. The time now is 10:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"