Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Conditional Formating

Look up FormatConditions in VBA help. That is the property you would work
with to change the conditional format generated colors. Something like:

If Cells(1, 1) = Something Then
Cells(5, 2).FormatConditions(1).Interior.ColorIndex = 3
End If




"Angeles" wrote:

Hi , I have defined Conditional formating to my cells from the option
<Format<Conditional Formating it works as I need but now I need to change
the cell color from source code ... It is done, but my question is ... is it
posible to execute the Conditional Formating from Source code ?

for ex A10 is red when B10= "Hola" I will change the Color for A10 from
source code (needed to be done in this way) if some other condition is
satistied I will change again the color for A10 but in this moment I need to
execute the Conditional Formating previously defined, is this possible ?

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
Conditional formating Kimti Excel Discussion (Misc queries) 4 March 2nd 10 10:52 PM
conditional formating using mod gtslabs Excel Discussion (Misc queries) 1 March 19th 09 06:55 PM
Install dates formating using conditional formating? Jerry Eggleston Excel Discussion (Misc queries) 2 November 9th 05 05:49 PM
Conditional formating John[_109_] Excel Programming 2 September 6th 05 07:12 PM
Conditional Formating George Excel Worksheet Functions 1 July 26th 05 09:33 PM


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