Share via


Range.LocationInTable Property

Returns a constant that describes the part of the PivotTable report that contains the upper-left corner of the specified range.

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

Syntax

'Declaration
ReadOnly Property LocationInTable As XlLocationInTable
    Get
'Usage
Dim instance As Range
Dim value As XlLocationInTable

value = instance.LocationInTable
XlLocationInTable LocationInTable { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlLocationInTable

Remarks

XlLocationInTable can be one of the following XlLocationInTable constants:

  • xlRowHeader

  • xlColumnHeader

  • xlPageHeader

  • xlDataHeader

  • xlRowItem

  • xlColumnItem

  • xlPageItem

  • xlDataItem

  • xlTableBody

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace