Hi everyone,
I need to copy an excel downloadable file from an online source and was wondering if anyone can guide me on this. The file I need is online as an xls file. Clicking on the link prompts a download/save. I am using VBA through Excel on this.
Mary
You may want to look into the
Microsoft Internet Transfer Control. I have it on my system as an Insertable ActiveX Control, but I have never used it, and do not know much about the Control. I can at least provide a little background information about the Control, and you can look into it further if you think it suits your needs.
The
Internet Transfer Control allows you to implement 2 of the most widely used Protocols on the Internet, HyperText Transfer Protocol (HTTP) and File Transfer Protocol (FTP).
With HTTP, this Control allows you to connect to World Wide Web Servers to retrieve HTML Documents. With the FTP Protocol, you can log on to FTP Servers to download/upload files. The UserName and Password Properties allow you to also log on to private Servers that require authentication. You can also connect to public FTP Servers and download files.
Common FTP commands, such as CD and GET, are supported via the Execute Method of this Control. It seems as though it may have the programmatic interface to accomplish what you are looking for, but only you'll know that once you look at it. Good luck and let me know how you make out.