praveenlal
New Member
- Joined
- Oct 27, 2021
- Messages
- 34
- Office Version
- 2016
- Platform
- Windows
Hi Friends, Getting syntax error in line 3. Can anyone help
ActiveCell.FormulaR1C1 = "='[Book1.xlsm]Sheet1'!R2C2"
ActiveWorkbook.SaveAs Filename:="='[Book1.xlsm]Sheet1'!R2C5"
, FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False (getting syntax error in this line)
Range("A1").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
ActiveWorkbook.Save
ActiveCell.FormulaR1C1 = "='[Book1.xlsm]Sheet1'!R2C2"
ActiveWorkbook.SaveAs Filename:="='[Book1.xlsm]Sheet1'!R2C5"
, FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False (getting syntax error in this line)
Range("A1").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
ActiveWorkbook.Save