Dim fso as New Scripting.FileSystemObject
fso.CopyFile <yourSourceFile>, <yourTargetFile>, True
Notes:
1. Set 3rd parameter True to overwrite an existing file
2. You may need to set a reference in your project to the scripting runtime contained in sccrun.dll
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.