Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I wanted to get direction on how to automate the dowload of CSV files from a website. Below are the details on where the CSV files are located within the website: - The website requires a login and password - There is one web page within the site that has 50 or so links which when clicked on, result in data being displayed in a tabular format. On this output page, there is also a "Download File" link which allows you to download the data in CSV format. - I have created a .xls file that I would like to create a macro within so that it can do the following: 1 - Automate the clicking on each of the 50 links which contain the tabular data 2 - Automate the clicking of the "Download Data" link which appears on the output page of each of the 50 aforementioned links (note that when this link is clicked, it gives you three download options, one of which is to download the file in CSV format, which is the one I would like to have selected) 3 - When the download button is clicked, automate the clicking of the "Open" button when the popup comes up asking if you'd like to Open or Save the file. All subsequent steps I can handle -- it's just these first three steps where I'm getting stuck -- and in researching this, unfortunately, I haven't found any clear direction as of yet. FYI - I've tried using Web Query to pull the data directly from the table that shows on the web page when each of the 50 links is clicked, however, the web query was not able to use the URL I entered I'm guessing either because of security or because of it's length. Anyway, the 50 or so links on the page are updated weekly with some new links showing up each week. It seems that automating the dowload of the CSV files would be a more reliable solution than using web queries (if not, please don't hesitate to let me know your opinion!). Finally, once I develop this spreadsheet, there will be a number of different users using it -- I'm wondering if the fact that not everyone will be using Internet Explorer will create a problem in coming up with a solution here...if so, you can assume I will just create a solution for IE. Thanks so much in advance for any help you can provide! -- Robert |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Slow download of .xls files | Excel Discussion (Misc queries) | |||
automating the name of my files | Excel Programming | |||
Automating Macros for CSV files | Excel Programming | |||
Download files with excel | Excel Programming | |||
automating chart generation from text files | Excel Programming |