For some reason, I can't figure out why the same formula that I can apply to conditional formatting regularly doesn't work in VBA. I'm trying to highlight the row in that range if one of the cells in each row is not blank.
Below is the code I'm working with:
With Range("$A3:$L1000")
.FormatConditions.Delete
.FormatConditions.Add xlExpression, Formula1:="=($J3)<>"""""
.FormatConditions(1).Interior.ColorIndex = 46
End With
When it applies to the document, here's the formula in Conditional Formatting
Any help/advice you all could provide would be greatly appreciated.