Hi ,
I am tring to use access to open an excel spreadsheet and do some conditional formating but i keep getting an error the code is as follows:
.Columns("F:F").Select
.Selection.FormatConditions.Delete
.Selection.FormatConditions.Add Type:=xlExpression, Formula1:="=or(AND(C1=44,F1>=TIMEVALUE(""09:00:00" ")),AND(C1=43,F1>=TIMEVALUE(""09:00:00"")))"
.Selection.FormatConditions(1).Interior.ColorIndex = 6