Does anyone know why I'm getting "Compile error expected end of statement" error message with the following? It keeps highlighting the "Yes"
![]()
Range("H2").Select ActiveCell.FormulaR1C1 = "=IF(ISBLANK(RC[1]),"",(IF(G2="Yes", 1, 0)))" Range("H2").Select Selection.AutoFill Destination:=Range("H2:H74"), Type:=xlFillDefault
Bookmarks