Interpret HTML in excel worksheet
Hi,
I am grabbing some data from an html table using the following code:
-----------------------------------------------------------------------------
Dim url As String
Dim startTag As String
Dim endTag As String
Dim playerStats As Variant
Dim newPlayerArray As Variant
Dim counter As Single
'""""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""
' player import
'""""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""
url =
"http://www.sportsline.com/nhl/stats/playersort/regularseason/yearly/NHL/?&print_rows=9999"
startTag = "<div class=SLTables1"
endTag = "</div"
playerStats = gsGetString(url, startTag, endTag)
------------------------------------------------------------------------------
What I want to be able to do is take playerStats and PasteSpecial -
Unicode into Worksheets("test").Range("A1")
This will properly form a worksheet with all the statistics I am
looking for.
Any ideas would be appreciated.
Thanks
Dave
|