Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
From within VBA, I need to copy files from one directory to another, and
then change some of the file extensions. Any hints to get me started? Thanks, Tim C |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sPath = "C:\MyDir1\"
sPath2 = "D:\MyFolder1\MyFolder2\" Filcopy sPath & "myfile.xls", sPath2 & "Myfile.dat" You can loop through the files using the code example for Dir -- Regards, Tom Ogilvy Tim C wrote in message ... From within VBA, I need to copy files from one directory to another, and then change some of the file extensions. Any hints to get me started? Thanks, Tim C |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Perfect! (except for the missing e : )
Thanks, Tim C "Tom Ogilvy" wrote in message ... sPath = "C:\MyDir1\" sPath2 = "D:\MyFolder1\MyFolder2\" Filcopy sPath & "myfile.xls", sPath2 & "Myfile.dat" You can loop through the files using the code example for Dir -- Regards, Tom Ogilvy Tim C wrote in message ... From within VBA, I need to copy files from one directory to another, and then change some of the file extensions. Any hints to get me started? Thanks, Tim C |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copying files from floppy to disk | New Users to Excel | |||
Download files from 3.5 disk in excel but system said disk need fo | Excel Discussion (Misc queries) | |||
Copying and renaming a file | Excel Discussion (Misc queries) | |||
copying and renaming sheets | Excel Programming | |||
Copying and renaming worksheets | Excel Programming |