Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
File Handling
Can you please tell me whether it is possible to copy files (regardless of
type) from one location to another using VBA - I know how to get the contents of a folder but can not find anything regarding actions to take on files Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
File Handling
OrigFile="C:\video.wmv"
DestFile="D:\TEMP\copy of video.wmv" FileCopy OrigFile, DestFile Regards, KL "TAM" wrote in message . uk... Can you please tell me whether it is possible to copy files (regardless of type) from one location to another using VBA - I know how to get the contents of a folder but can not find anything regarding actions to take on files Thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
File Handling
Many thanks for your help - works great
"TAM" wrote in message . uk... Can you please tell me whether it is possible to copy files (regardless of type) from one location to another using VBA - I know how to get the contents of a folder but can not find anything regarding actions to take on files Thanks |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
File Handling
Yes, it does, and (SURPRISE!) you could have found that by going to VBA Help
and typing 'file copy' (without the quotes) in the search box <g. On Sat, 19 Feb 2005 17:25:00 GMT, "TAM" wrote: Many thanks for your help - works great "TAM" wrote in message .uk... Can you please tell me whether it is possible to copy files (regardless of type) from one location to another using VBA - I know how to get the contents of a folder but can not find anything regarding actions to take on files Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Error Handling - Check a file isn't already open before overwritin | Excel Discussion (Misc queries) | |||
handling the print to file prompt | Excel Programming | |||
'Esc' handling | Excel Programming | |||
file handling 2 | Excel Programming | |||
file handling | Excel Programming |