PivotField.DragToRow Property
Excel Developer Reference |
True if the field can be dragged to the row position. The default value is True. Read/write Boolean.
Syntax
expression.DragToRow
expression A variable that represents a PivotField object.
Remarks
For OLAP data sources, the value is False for measure fields.
Example
This example prevents the Year field in the first PivotTable report on worksheet one from being dragged to the row position.
Visual Basic for Applications |
---|
|
See Also