dpaton05
Well-known Member
- Joined
- Aug 14, 2018
- Messages
- 2,392
- Office Version
- 365
- 2016
- Platform
- Windows
Private Sub cmdNewTool_Click()
Dim newDoc As String
newDoc = "Anglicare Western | Clinical and Therapeutic Services Invoice" & txtyear.Value & ".xlsm"
ActiveWorkbook.SaveCopyAs Filename:=newDoc
It says run time error 1004, we can't find the file.
Dim newDoc As String
newDoc = "Anglicare Western | Clinical and Therapeutic Services Invoice" & txtyear.Value & ".xlsm"
ActiveWorkbook.SaveCopyAs Filename:=newDoc
It says run time error 1004, we can't find the file.
Last edited: