File Handling

  • Thread starter Thread starter TAM
  • Start date Start date
T

TAM

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
 
OrigFile="C:\video.wmv"
DestFile="D:\TEMP\copy of video.wmv"
FileCopy OrigFile, DestFile

Regards,
KL
 
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>.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top