以下のコードを使用して、ExcelでWebからテーブルを受け取っています
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;some url")
.WebSelectionType = "xlSpecifiedTables"
.WebTables = "10"
.BackgroundQuery = True
.TablesOnlyFromHTML = True
.Refresh BackgroundQuery:=False
.SaveData = True
End With
また、取得したテーブルから行数を取得したい。どうすればそれを達成できますか?
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;some url")
.LineCount 'is it smt like this???????
End With