Using Excel VBA to import website table created by JavaScript
问题 I'm trying to extract a table from a website using Excel VBA, but the table is created using JavaScript, and I really don't know how to do it. Generally, I extract a table something like this: Dim Document As Object Dim StatementTable As HTMLTable Set Document = CreateObject("HTMLFile") With CreateObject("msxml2.xmlhttp") .Open "GET", Url, False .send Do: DoEvents: Loop Until .readyState = 4 Document.body.innerHTML = .responseText .abort End With Set StatementTable = Document.getElementById(