yakpol
Structural
- Jun 1, 2001
- 450
I am trying to automate retrieving data from Excel file located on ftp site to the master Excel file. The goal is to open the file without typing user name and password every time. I use the following VBA code in master file:
Excel continue asking me for a password the first time I run macro, maybe there's a syntax error. Help is greatly appreciated.
Code:
Workbooks.Open Filename:=_
"ftp://user:myname password:mypassword @nontech.com/Proj041202.xls"
Excel continue asking me for a password the first time I run macro, maybe there's a syntax error. Help is greatly appreciated.