Range.LocationInTable Property
Excel Developer Reference |
Returns a constant that describes the part of the PivotTable report that contains the upper-left corner of the specified range. Can be one of the following XlLocationInTable. constants. Read-only Long.
Syntax
expression.LocationInTable
expression A variable that represents a Range object.
Remarks
XlLocationInTable can be one of these XlLocationInTable constants. |
xlRowHeader |
xlColumnHeader |
xlPageHeader |
xlDataHeader |
xlRowItem |
xlColumnItem |
xlPageItem |
xlDataItem |
xlTableBody |
Example
This example displays a message box that describes the location of the active cell within the PivotTable report.
Visual Basic for Applications |
---|
|
See Also