Thread: Copyfile
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Copyfile

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
---------------
Jacob Skaria


"Paul" wrote:

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

Any help appreciated ?