G GMet Sep 13, 2004 #1 How can I programmatically set conditional formating on selected cells? TIA GMet
J JE McGimpsey Sep 13, 2004 #2 One way: With Selection.FormatConditions .Delete .Add Type:=xlCellValue, _ Operator:=xlBetween, _ Formula1:="1", _ Formula2:="100" .Item(1).Interior.ColorIndex = 3 End With
One way: With Selection.FormatConditions .Delete .Add Type:=xlCellValue, _ Operator:=xlBetween, _ Formula1:="1", _ Formula2:="100" .Item(1).Interior.ColorIndex = 3 End With