How can I automate the download dialog box in IE using VBA?

牧云@^-^@ 提交于 2019-12-02 09:45:12

use

Workbooks.Open ("http://financials.morningstar.com/ajax/ReportProcess4CSV.html?&t=XNYS:SCCO&region=usa&culture=en-US&cur=&reportType=bs&period=12&dataType=A&order=asc&columnYear=5&curYearPart=1st5year&rounding=3&view=raw&r=404338&denominatorView=raw&number=3")

Look at the URL carefully, and you can change almost each and every settings in the URL.

Look behind the morningstar page in IE or Chrome debug mode and you can easily find out which URL (the one used up here) created the CSV file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!