Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I use a Web query to obtain a table on a Web page. How can I know the number
of rows in the result QueryTable? The current code I use is as follows: Sub Test() Dim MyStr As String MyStr = "URL;http://mySite/currentuser" With ActiveSheet.QueryTables.Add(Connection:=MyStr, _ Destination:=Range("a10")) .RowNumbers = True .WebSelectionType = xlSpecifiedTables .WebTables = "11" .BackgroundQuery = True .TablesOnlyFromHTML = True .Refresh BackgroundQuery:=False .SaveData = True End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
QueryTable.add naming problem (web query) | Excel Programming | |||
Problem:Query Cell contain Formula from QueryTable is always get old value | Excel Programming | |||
Excel Web Query using a QueryTable via HTTPS?? | Excel Programming | |||
Bad QueryTable Row Count | Excel Programming | |||
MS QUERY w/out querytable | Excel Programming |