Hello, thank you for the generous help. I am trying to input the following functions into the corresponding cell range. Unfortunately, I get syntax error on the formula even though it is inside of quotations and should be read as a string (or at least I thought). The Error highlights "filename" on the first line and "f" in the third line. The middle line works. Any idea how the syntax would work for this? Thanks
VBA Code:
Sub Dateformat()
Sheets("Combined").range("A1").formula = "=MID(CELL("filename",A1),FIND("[",CELL("filename",A1),1)+1,FIND("]",CELL("filename",A1),1)-FIND("[",CELL("filename",A1),1)-1)"
Sheets("Combined").Range("B1").Formula = "=RIGHT(YEAR(TODAY()),2)"
Sheets("Combined").Range("A3:A" & .Range("B" & Rows.Count).End(xlUp).Row).Formula = "=CONCATENATE(MID($A$1,FIND("f",$A$1,3)+2,(FIND("v",$A$1,1))-(FIND("f",$A$1,3)+3)),".",$B$1)"
End Sub