Have tried to make a procedure to be able to copy files from a server to local machine.
Have tried this code:
Sub CopyTemplatesToLocalmashine() FileSystemObject.CopyFile "corp.4tel.noGlobaldataInfoBEETemplUnderDevWord _ Startup*.dot", "C:TEMP" FileSystemObject.CopyFile "corp.4tel.noGlobaldataInfoBEETemplUnderDevWord _ Workgroup-templates*.dot", "C:TEMP_1"
End Sub
I guess I need to Dim the path of the source and the path of the destination.
But I cannot find the correct code.
None of the files are open.
They need to replace existing files on the destination.
Can anyone help?
Thanks
Bjorn