ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   File Copy (https://www.excelbanter.com/excel-programming/277430-re-file-copy.html)

Jim Rech

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




All times are GMT +1. The time now is 06:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com