ariel20029
Board Regular
- Joined
- Jun 20, 2013
- Messages
- 97
Hi, I am trying to create a macro to saveas a file based on the information in cell C80. The macro is throwing an error on the last line saying compile error syntax error.
Can you please help.
thanks,
Sharon
Dim Path As String
Dim FileName1 As String
Path = "C:\PS CANCEL"
FileName1 = Range("C80")
ActiveWorkbook.SaveAs FileName:=Path & FileName1&".xls",FileFormat:xlNormal
Can you please help.
thanks,
Sharon
Dim Path As String
Dim FileName1 As String
Path = "C:\PS CANCEL"
FileName1 = Range("C80")
ActiveWorkbook.SaveAs FileName:=Path & FileName1&".xls",FileFormat:xlNormal