Home > Forum Home > Automating Data Analysis Tasks > Automating a web query login to download data | Share |
Forum Topic | Post Reply Login |
Automating A Web Query Login To Download Data | Rate this: (2.8/5 from 16 votes) |
I have a funamental earnings and valuation model spreadsheet that downloads stock data from a number of different websites via certain add-ins. One of the sites that it gets information from is investors.com, which requires a login before downloading stock information (not just price/volume/etc data, I get that easily from Yahoo). Problem is that you have to manually login through a web query each time, and this is the current instructions:
Thanks in advance for any help you can provide! | ||
Posted by kilo94 on |
Replies - Displaying 1 to 10 of 40 | Order Replies By: Most Recent | Chronological | Highest Rated |
Rate this: (2.7/5 from 15 votes) The following VBA code shows how to login into this forum and access this post: VBA Code:
| ||
Excel Business Forums Administrator | ||
Posted by Excel Helper on |
Rate this: (3/5 from 6 votes) Sorry for the delay, I'm in the military and recent world events put this valuation model (which is key to life after the military, as I'd like to get into stock analyst-type of work) was on the back-burner. Now that I have some time over the next couple of days, I'd like to pick your brain a bit more. The website I'm trying to automate in Excel is www.investors.com specifically the login required in order to execute the web query. Unfortunately I don't really understand which parameters I need to stick in the VBA code to automatically reference the cells holding the login and password. Can you be a bit more descriptive for a newbie like me? I really appreciate it... | |
Posted by kilo94 on |
Rate this: (3/5 from 6 votes) In this case, the primary task is to replace the three constants like: VBA Code:
Note that, you may be able to change the URL and add more variables in order to download the data in one step without having to first login. | ||
Excel Business Forums Administrator | ||
Posted by Excel Helper on |
Rate this: (3/5 from 6 votes) Hi all, I am trying to run a web query using VBA, but not able to pass through the login screen. I am using the following code for the query. I am trying access the website using the URL: [http://www.inkresearch.ca/coReport/coReport.php?ticker=AN] When I access the website thorugh a browser, first I get a login page at [http://www.inkresearch.ca/] Once logged in, I get http://www.inkresearch.ca/myInk.php , where I enter a ticker like 'AP' to go to the desired webpage. Can you please suggest a solution to this problem? Thanks, MG. VBA Code:
| ||
Posted by musicgold on |
Rate this: (3/5 from 6 votes) Any guidance on how to do this one. | |
Posted by DaveMills on |
Rate this: (2.2/5 from 4 votes) But I have this webpage, RECOM (Register Of Commerce): http://recom1.onrc.ro/cgi-bin/recom.cgi?o7=1&l=R I want to insert a CUI (Unique Identification Number -- of a Company) in the CUI field a return the result page. A valid CUI number is: 15413161 So sticking 15413161 into CUI field and pressing "Selectie" should return a page wich will validate me or not the Company's Identification Number. How can I adapt the code above for my case? Thank you very much! :) | |
Posted by mircea80 on |
Rate this: (3/5 from 1 vote) Thanks! | |
Posted by vzny254 on |
Rate this: (3/5 from 1 vote) The tags like <input type="..." name="XXX" id="..." value="..." /> will tell you what form variables are needed where XXX is the name of the variable. | |
Excel Business Forums Administrator | |
Posted by Excel Helper on |
Rate this: (3/5 from 1 vote) Thank you!! | |
Posted by vzny254 on |
Rate this: (3/5 from 1 vote) | |
Excel Business Forums Administrator | |
Posted by Excel Helper on |
Displaying page 1 of 5 | Next |
Find relevant Excel templates and add-ins for Automating a web query login to download data in the Excel Business Solutions Directory |