Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Can anyone give me some comments or suggestions about running an FTP command in VBA script. I tried to a macro in my excel file sending my file directly to my destination using FTP, here's my code, Why after this code was performed the next code did not run. Dim fLOG as string Dim iBatchCopy as string Dim cJDay as string .. .. .. fLOG = App.Path & "\" & "LOG." & cJDay iBatchCopy = ("cmd /c FTP -s:FTPDATA.DAT 255.255.255.0 " " " & fLOG) Call Shell(iBatchCopy, vbHide) .. .. .. FileCopy myfile, otherfile -- This is not being performed by vb scripts. WHY? TIA Eric |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
delete scripts | Excel Worksheet Functions | |||
TV-Scripts, Movie, Stage, and Novel Templates | Excel Discussion (Misc queries) | |||
Forumlas or scripts? | Excel Discussion (Misc queries) | |||
SQL Scripts in Excel | Excel Discussion (Misc queries) | |||
insurance calulater scripts | Excel Discussion (Misc queries) |