![]() |
#1
|
|||
|
|||
![]()
Hello again!
I'm working on another export and trying to get Conditional Formatting to work again- but seems to be getting hung up on the actual font formatting piece. More specifically: Code:
org.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority The section itself pertaining to the Conditional Formatting is: Code:
cc = Range("A2").End(xlDown).Row Set org = Range("B" & cc) org.FormatConditions.Add Type:=xlExpression, Formula1:="=IF(AND($I3>$S$1,$I3<$U$1),$I3,"""")" org.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority With org.FormatConditions(1).Font .Strikethrough = False .Color = -16727809 .TintAndShade = 0 End With org.FormatConditions(1).StopIfTrue = False I have another export template that i have, where the conditional formatting is written the EXACT same way- so I don't understand why it is causing a problem here. Any help is appreciated (still new to VBA) Thanks E |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
info_guy2 | Excel | 1 | 07-03-2014 10:07 AM |
Conditional Formatting | jdc15371 | Excel | 2 | 06-26-2014 06:34 AM |
![]() |
wrighty50 | Excel | 11 | 03-25-2012 10:42 AM |
Conditional formatting | zanat0s | Excel | 4 | 01-20-2012 03:30 AM |
Conditional Formatting Problem Excel 2007 | namedujour | Excel | 6 | 08-04-2011 10:52 AM |