Partager via


XlSlicerSort Enumeration

Specifies whether items displayed in the slicer are sorted, and if they are sorted, whether they are sorted in ascending or descending order by item captions.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Public Enumeration XlSlicerSort
'Usage
Dim instance As XlSlicerSort
public enum XlSlicerSort

Members

Member name Description
xlSlicerSortDataSourceOrder Slicer items are displayed in the order provided by the data source.
xlSlicerSortAscending Slicer items are sorted in ascending order by item captions.
xlSlicerSortDescending Slicer items are sorted in descending order by item captions.

See Also

Reference

Microsoft.Office.Interop.Excel Namespace