Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default FTP Transfers with VBA

Hello,
I need for a small project to retrieve a file via ftp from the internet,
process it with Excel an save it back to the FTP site. How can I do that
with vba??
I tried to create a link in Explorer to that ftp site, but this does not
work, so I'm looking for a more programmatic solution.
Any help is much appreciated!!

Ernst


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default FTP Transfers with VBA

http://www.codeguru.com/vb/links/comments/425.shtml


"E.Anderegg" wrote in message
...
Hello,
I need for a small project to retrieve a file via ftp from the internet,
process it with Excel an save it back to the FTP site. How can I do that
with vba??
I tried to create a link in Explorer to that ftp site, but this does not
work, so I'm looking for a more programmatic solution.
Any help is much appreciated!!

Ernst




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default FTP Transfers with VBA

This statement should work . . .

ActiveWorkbook.SaveAs Filename:="ftp://www.xxxxxxxx.com/pub/test.xls",
FileFormat _
:=xlNormal, Password:="", WriteResPassword:="", ReadOnlyRecommended:= _
False, CreateBackup:=False


You'll need to substitute the real site's name in place of the "x's" of
course . . .



"E.Anderegg" wrote in message
...
Hello,
I need for a small project to retrieve a file via ftp from the
internet, process it with Excel an save it back to the FTP site. How
can I do that with vba?? I tried to create a link in Explorer to that
ftp site, but this does not work, so I'm looking for a more
programmatic solution. Any help is much appreciated!!

Ernst



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 135
Default FTP Transfers with VBA

If you're handy with DOS you can create a batch file using the DOS FTP
commands:

http://www.computerhope.com/software/ftp.htm

and use the vba Shell command to launch the batch file.

HTH,
Shockley



"E.Anderegg" wrote in message
...
Hello,
I need for a small project to retrieve a file via ftp from the internet,
process it with Excel an save it back to the FTP site. How can I do that
with vba??
I tried to create a link in Explorer to that ftp site, but this does not
work, so I'm looking for a more programmatic solution.
Any help is much appreciated!!

Ernst




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
when I enter my date it transfers Zoe's Grams Excel Discussion (Misc queries) 3 January 6th 10 07:16 PM
Data Transfers?? GA85 Excel Discussion (Misc queries) 1 September 24th 08 11:58 AM
File transfers between Excel Versions Tail Wind Excel Discussion (Misc queries) 3 December 15th 07 07:39 PM
Transfers [email protected] Excel Worksheet Functions 3 October 8th 05 03:16 PM
Automatic transfers Terri Excel Worksheet Functions 1 May 10th 05 09:05 PM


All times are GMT +1. The time now is 12:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"