I have the following code:
All of the CF rules have "Stop If True" applied. Is there any way to turn this off by default, and add SiT to individual rules?Please Login or Register to view this content.
I have the following code:
All of the CF rules have "Stop If True" applied. Is there any way to turn this off by default, and add SiT to individual rules?Please Login or Register to view this content.
You can specify it with the StopIfTrue property
Please Login or Register to view this content.
What would be more efficient / better written?
As you have suggested, or
and calling this in my Sub CF()?Please Login or Register to view this content.
I don't think that will work because StopIfTrue is a property of the Format Condition not the cell.
I have amended my code for my Macro
When I apply the Macro, CF is removed, all is added as per the code. In my data, J4 contains "Yes" but the CF for F4 is applied, even though F4 is .StopIfTrue = False and J4 is .StopIfTrue = True and the relevant tick-box is empty/ticked according to the macroPlease Login or Register to view this content.
Your formula is looking two rows down. You use J4 in the formula but applied from row 2, not row 4.
Rory
Oh my lord
Thank you. Both
Maybe you could separate out the creation part to make it less long and only change the parts you need to.
Please Login or Register to view this content.
Thanks for the help, BM
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks