Muistiinpano
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoja.
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoja.
True if the field can be dragged to the page position. The default value is True. Read/write Boolean.
Syntax
expression.DragToPage
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 PivotTable report on worksheet one from being dragged to the page position.
Worksheets(1).PivotTables("Pivot1") _
.PivotFields("Year").DragToPage = False
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.