Hi,
I am trying to save my file to a location in another server
My SourceFile is in CurrentProject.Path
My DestinationFile is something like " \\xx.xxx.xx.xxx\backup\LReports\ & "\" & "reportName_" & sDateTimeStamp & ".xlsm"
When I try FileCopy SourceFile, DestinationFile,
I get an error in the Destination path.
Can I copy to a backup server (which is a valid path when I tried manually), and if so, is the code correct?
TIA
I am trying to save my file to a location in another server
My SourceFile is in CurrentProject.Path
My DestinationFile is something like " \\xx.xxx.xx.xxx\backup\LReports\ & "\" & "reportName_" & sDateTimeStamp & ".xlsm"
When I try FileCopy SourceFile, DestinationFile,
I get an error in the Destination path.
Can I copy to a backup server (which is a valid path when I tried manually), and if so, is the code correct?
TIA