April 2006
Beginner
1114 pages
98h 16m
English
querytable.WebTables [= setting]
For web queries, specifies the index of the items to include from the source web page. To include multiple items from a web page, use a comma-delimited string.
For example, the following code includes the 3rd, 4th, and 10th items from a web page:
qt.WebSelectionType = xlSpecifiedTables
qt.WebTables = "3,4,10"Note that you must set WebSelectionType to xlSpecifiedTables before you use the WebTables property.
The best way to find the index of an item on a web page is to record a macro performing the web query containing the items you want to import, then cut and paste the recorded WebTables setting.
Read now
Unlock full access