Craig_Moore
Board Regular
- Joined
- Dec 12, 2018
- Messages
- 64
- Office Version
- 2019
- Platform
- Windows
Hi All
I'm getting a run time error '1004': Application-defined or object-definer error but I cant see a reason for it any help would be much appreciated
Thanks
Craig
I'm getting a run time error '1004': Application-defined or object-definer error but I cant see a reason for it any help would be much appreciated
Thanks
Craig
VBA Code:
Private Sub ARCHIVE_Click()
Dim Path As String
Dim filename As String
Path = "\\Duerrsfile\ss\01 PNB Production\OEE SHEETS\02. DOWN TIME SHEET\TOM'S ARCHIVED SHEETS\"
filename = Range("ARCHIVE_YEAR")
ActiveWorkbook.SaveAs filename:=Path & filename
End Sub