Hi!
Is there a funcion in VBA that allows me to copy a file from one location to another ??
Like: copy C:\file D:\Temp\file
Thanks in advance,
Chris
Hi!
Is there a funcion in VBA that allows me to copy a file from one location to another ??
Like: copy C:\file D:\Temp\file
Thanks in advance,
Chris
FileCopy "Source", "Destination"
--
HTH...
Jim Thomlinson
"loopoo" wrote:
>
> Hi!
>
> Is there a funcion in VBA that allows me to copy a file from one
> location to another ??
>
> Like: copy C:\file D:\Temp\file
>
> Thanks in advance,
> Chris
>
>
> --
> loopoo
> ------------------------------------------------------------------------
> loopoo's Profile: http://www.excelforum.com/member.php...o&userid=28792
> View this thread: http://www.excelforum.com/showthread...hreadid=492221
>
>
Hi,
Yes, you can use the native VBA function "FileCopy" like this
vba.FileCopy "C:\file", "D:\Temp\file"
(or you can use the FileSystemObject)
HTH
Philip
"loopoo" wrote:
>
> Hi!
>
> Is there a funcion in VBA that allows me to copy a file from one
> location to another ??
>
> Like: copy C:\file D:\Temp\file
>
> Thanks in advance,
> Chris
>
>
> --
> loopoo
> ------------------------------------------------------------------------
> loopoo's Profile: http://www.excelforum.com/member.php...o&userid=28792
> View this thread: http://www.excelforum.com/showthread...hreadid=492221
>
>
Thank you for your help,
Chris
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks