Copying files ...Network to Network

E

Eric

Hi There,

Can abody give me some tips on how to copy an excel files
from network to network using macro (vba) commands.

Appreciate anyone's help.

Thanks
Eric
 
R

Rob Bovey

Eric said:
Can abody give me some tips on how to copy an excel files
from network to network using macro (vba) commands.

Hi Eric,

I'm not sure precisely what you mean by "network to network", but here's
an example of copying a file from one server share to another server share
on the same network:

FileCopy "\\SERVER1\ShareName\Book1.xls", _
"\\SERVER2\ShareName\Book1.xls"

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *
 
T

Tom Ogilvy

if you really mean network to network, probably using ftp.

If you mean from one network drive to another in your local network,
probably the copyfile command using the scripting runtime.

or maybe even the builtin vba filecopy command.

Regards,
Tom Ogilvy
 

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

Top