共用方式為


Worksheet.QueryTables Property

Gets the Microsoft.Office.Interop.Excel.QueryTables collection that represents all the query tables on the worksheet.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
ReadOnly Property QueryTables As QueryTables
QueryTables QueryTables { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.QueryTables
The Microsoft.Office.Interop.Excel.QueryTables collection that represents all the query tables on the worksheet.

.NET Framework Security

See Also

Reference

Worksheet Interface

Microsoft.Office.Tools.Excel Namespace