Type | Description | |||
IncludeMask as Variant |
A String expression that specifies the mask of properties to be reset.
The mask can include the following special characters:
| |||
ExcludeMask as Variant |
A String expression that specifies the mask of properties to be keep.
The mask can include the following special characters:
|
For instance, the following VB sample resets the position properties when user changes the filter of a pivot column:
Private Sub Pivot1_LayoutEndChanging(ByVal Operation As EXPIVOTLibCtl.LayoutChangingEnum) If Operation = exPivotDataColumnFilterChange Then Pivot1.Reset "c*.position*" End If End Sub
When user changes the pivot columns, like adding new pivot columns, the control keeps the layout of the data view, so the position, size of data columns is keep. The same thing is happen for sorting, filtering and so on.