Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm trying to dodwn load all the files in from an FTP site using VBA in Excel. I know there are probably lots of better other ways but this is what I've got so it has to be. I can create an object and start up FTP but I can't sendkeys to the window. it just puts the variables date into the active VBA window. I've tried all ways of addressing the object i've created but nothign has worked. anyone got a clue how I can sendkeys to this FTP window I've instantiated. Dim oshell As Object FTPSiteName As string Set oshell = CreateObject("Wscript.Shell") Set FTPSiteName as ftp.anysite.com oshell.Run "c:\windows\system32\ftp.exe" SendKeys "open " & FTPSiteName etc etc cheers Bobsa |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Create .NET object written in C# in Excel Macro | Excel Discussion (Misc queries) | |||
CREATE LIST OBJECT IN EXCEL | Excel Worksheet Functions | |||
Create (or find) a complete object tree for excel | Excel Programming | |||
Using vb to create an excel object and save it as a CSV file | Excel Programming | |||
Create a calendar object in Excel Cell | Excel Programming |