I've seen this answer: html parsing of cricinfo scorecards
these variable types, however, are not available in excel 2011:
Dim tbl As HTMLTable
Dim tr As HTMLTableRow
Is there another way to get data from the web using excel 2011?
I've seen this answer: html parsing of cricinfo scorecards
these variable types, however, are not available in excel 2011:
Dim tbl As HTMLTable
Dim tr As HTMLTableRow
Is there another way to get data from the web using excel 2011?
You need to set a reference to Microsoft HTML Object Library. In your VBA editor window click Tools > Reference and select the Microsoft HTML Object Library. That should make those variable types available.
If you can't find it click browse and find: C:\WINDOWS\system32\mshtml.tlb This comes with MS Internet Explorer; if you don't have it, download and install MS Internet Explorer.
Oh... You have Excel 2011 (for Mac); I guess the Windows file path won't work for you. I'm guessing that if you install MS Internet Explorer you would also get the MS HTML Object library.