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

后端 未结 1 1680
感动是毒
感动是毒 2021-01-27 08:02

I\'m completely new on here and have only been using VBA for about 6 months. Needless to say, forum posts on here and a few other places have helped me immensely so far.

相关标签:
1条回答
  • 2021-01-27 08:57

    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.

    enter image description here

    0 讨论(0)
提交回复
热议问题