Copyfile

P

Paul

I'm having a few problems with the syntax, and the help is not very helpful

Any help appreciated ?
 
J

Jacob Skaria

Dim SourceFile As String, DestinationFile As String
SourceFile = "c:\1.txt" ' Define source file name.
DestinationFile = "d:\1.txt" ' Define target file name.
FileCopy SourceFile, DestinationFile ' Copy source to target.


If this post helps click Yes
 
Top