Thread: File Copy
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jim Rech Jim Rech is offline
external usenet poster
 
Posts: 2,718
Default File Copy

The VB FileCopy statement should be in your help file. If not here's an
example:

Dim SourceFile, DestinationFile
SourceFile = "c:\SrcPath\Filename.xls" ' Define source file name.
DestinationFile = "c:\DestPath\Filename.xls" ' Define target file name.
FileCopy SourceFile, DestinationFile ' Copy source to target.



--
Jim Rech
Excel MVP