I am trying to make some corrections to a series of identicle tabs in a sheet, so i created this macro.
Sub corrections()
With Range ("M15")
.Value = "=COUNTIF(A15:A21,"YES")"
End with
End Sub
.... along with some other corrections, but the root lies in this one action.
I receive a syntax error being caused by the quotes around YES, but that is required for the formula to work properly.
Am i doing something silly that is right in front of me here?...
Thanks,
coryj5
Sub corrections()
With Range ("M15")
.Value = "=COUNTIF(A15:A21,"YES")"
End with
End Sub
.... along with some other corrections, but the root lies in this one action.
I receive a syntax error being caused by the quotes around YES, but that is required for the formula to work properly.
Am i doing something silly that is right in front of me here?...
Thanks,
coryj5