Partager via


_QueryTable.WebTables Property

Returns or sets a comma-delimited list of table names or table index numbers when you import a Web page into a query table. Read/write String.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property WebTables As String
    Get
    Set
'Usage
Dim instance As _QueryTable
Dim value As String

value = instance.WebTables

instance.WebTables = value
string WebTables { get; set; }

Property Value

Type: System.String

Remarks

Use this property only when the query table’s QueryType property is set to xlWebQuery, the query returns an HTML document, and the value of the WebSelectionType property is xlSpecifiedTables.

See Also

Reference

_QueryTable Interface

_QueryTable Members

Microsoft.Office.Interop.Excel Namespace