Import web data in excel using VBA

前端 未结 2 1413
终归单人心
终归单人心 2020-12-04 00:37

I want to import MutualFundsPortfolioValues to Excel. I don\'t know how to import data from a web site which I need to do is import web data to Excel within 2 different date

2条回答
  •  自闭症患者
    2020-12-04 01:18

    you could read about it by clicking here then use the macro recorder to record doing it, this will give you some code to work with and if you need more help just ask

    here is another question on Stack Overflow: Importing data from web page with diffrent Dates in excel using VBA code

    basically you're going to add a QueryTable object to the QueryTables collection of the Active worksheet in Excel.

    Here is the MSDN reference on Query Tables: MSDN Library: Excel 2007 Querytables Add method

提交回复
热议问题