'Declaration
Public Function SetActiveFilter( _ ByVal column As Integer, _ ByVal filter As Filter, _ Optional ByVal apply As Boolean _ ) As Boolean
'Usage
Dim instance As AutoFilter Dim column As Integer Dim filter As Filter Dim apply As Boolean Dim value As Boolean value = instance.SetActiveFilter(column, filter, apply)
Parameters
- column
- An integer value indicates the column index.
- filter
- A Filter object to become the active filter of the specified column.
- apply
- if set to
true
, the filter will be re-applied.
Return Value
true
if the filter is activated, false
otherwise.