Excel VBA to activate selectitem in web and go web for data
问题 I'm very fresh to excel VBA. I tried use all potential solutions in the internet for activate selectitem in web and get data table but it didn't work. My Excel VBA code and Javascript is below. Sub GetQuarterFinancials() Dim ie As Object, URL As String URL = "https://www.marketwatch.com/investing/stock/aapl/financials" Set ie = CreateObject("internetexplorer.application") With ie .Visible = True .navigate URL Do While .Busy DoEvents Loop Do While .readyState <> 4 DoEvents Loop Set ticker = ie