PivotTable.SortUsingCustomLists (Excel)

The SortUsingCustomLists property controls whether custom lists are used for sorting items of fields, both initially when the PivotField is initialized and the PivotItems are ordered by their captions, and later when the user applies a sort.

Setting this property to False can optimize performance for fields with many items, and it also allows users that do not want custom list-based sorting to avoid it.


ActiveCell.PivotTable.SortUsingCustomLists = True