Partager via


_QueryTable.ResultRange Property

Returns a Range object that represents the area of the worksheet occupied by the specified query table. Read-only.

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

Syntax

'Declaration
ReadOnly Property ResultRange As Range
    Get
'Usage
Dim instance As _QueryTable
Dim value As Range

value = instance.ResultRange
Range ResultRange { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Range

Remarks

The range doesn’t include the field name row or the row number column.

See Also

Reference

_QueryTable Interface

_QueryTable Members

Microsoft.Office.Interop.Excel Namespace