Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear all,
Need assistance in my macro for copying files from one directory t another drive. I have written the code: Source = aFuturesDaily(i, 1) + aFuturesDaily(i, 2) aFuturesDaily(i, 3) Dest = aFuturesDaily(i, 5) + aFuturesDaily(i, 6) + aFuturesDaily(i 7) FileCopy Source, Dest One problem I have is that the source filenames always end with random number. But the first part of the filename is fixed. Is ther anyway to go around this problem? For example in DOS, you can use Cop h:\test.*.csv G:\myfile.csv Would appreciate some help! Regards, Desmon -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy files to clipboard | Excel Discussion (Misc queries) | |||
Copy Files with Links | Excel Discussion (Misc queries) | |||
Copy and Paste Between Files | Excel Discussion (Misc queries) | |||
Copy values between files. | Excel Programming | |||
copy files from one dir to another | Excel Programming |