XlPivotFieldDataType enumeration (Excel)

Specifies the type of data in the PivotTable field.

Name Value Description
xlDate 2 Contains a date.
xlNumber -4145 Contains a number.
xlText -4158 Contains text.

Remarks

This enumeration is used with the DataType property of the PivotField object.

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.