I'm trying to write a macro that checks if Column C contains text. If it does then it will add a formula to Column A that checks if Column F contains either "V:" or "EC:", if so then returns True, otherwise False.
Sub FillDown()
Dim LastRowC As Long
Dim VECFormula As String
LastRowC = ActiveSheet.Range("C" & Rows.Count).End(xlUp).Row
VECFormula = "=IF(SUM(COUNTIF($F2, {"*V:*","*EC:*"})), "Yes", "No")"
ActiveSheet.Range("A2").Formula = VECFormula
ActiveSheet.Range("A2").AutoFill Destination:=ActiveSheet.Range("A2:A" & LastRowC)
End Sub