Hi,
Simple code below. Just trying to insert an IF formula via VBA in a cell that I can later autofill. Keep getting an error on this and don't know why.
Thanks!
Range("Q3").Formula = "=If (Range(""A3"").Value = Range(""A4"").Value And Range(""Q3"") = """" Then Range(""Q3"").Value = Range(""Q2"").Value)"
Bookmarks