Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Why Is Conditional Format Failing?

I am trying to revise conditional formatting of one cell whenever the
value in a different cell is changed. I am using the on_change event
for the worksheet and if the chage target is the cell of interest, then
my conditional format routine is called. The Formula1 property is
updated but I cannot get the
Range("myrange").FormatConditions(1).Interior.Colo rIndex = 3 to take
effect when it is executed under the on_change event.

It works fine under the imediate window, and if I execute the same
routine independently (not called by the on_change event).

Any ideas?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Why Is Conditional Format Failing?

It works for me. Can you post your code?


"bttman" wrote in message
oups.com...
I am trying to revise conditional formatting of one cell whenever the
value in a different cell is changed. I am using the on_change event
for the worksheet and if the chage target is the cell of interest, then
my conditional format routine is called. The Formula1 property is
updated but I cannot get the
Range("myrange").FormatConditions(1).Interior.Colo rIndex = 3 to take
effect when it is executed under the on_change event.

It works fine under the imediate window, and if I execute the same
routine independently (not called by the on_change event).

Any ideas?



Reply
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
Failing with formula Charlie Excel Discussion (Misc queries) 8 August 5th 09 02:54 PM
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
Link 'failing' ppetts Links and Linking in Excel 1 October 5th 05 06:20 AM
Keep format after paste from other worksheets - conditional format or EnableControl solution doesn't work No Name Excel Programming 0 May 3rd 04 12:22 PM
Macro failing Syd[_3_] Excel Programming 0 September 17th 03 02:51 PM


All times are GMT +1. The time now is 10:16 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"