Worksheet.SetAutoFilter Method (String)

PicoXLSX

PicoXLSX

WorksheetSetAutoFilter Method (String)

Sets the column auto filter within the defined column range

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
public void SetAutoFilter(
	string range
)

Parameters

range
Type: SystemString
Range to apply auto filter on. The range could be 'A1:C10' for instance. The end row will be recalculated automatically when saving the file
Exceptions
ExceptionCondition
RangeExceptionThrows an RangeException if the passed range out of range
FormatExceptionThrows an FormatException if the passed range is malformed
See Also