xlsx.autofilter
xlsx.autofilter(wb, sheet, range, [remove=false])
Input: wb, sheet, range, remove · Output: no output
What it is
Puts filter buttons on the header row of range (header row plus the data below it). The filter is switched on, not applied: no row is hidden. xlsx.autofilter(wb, sheet, remove=true) takes it off. One autofilter per sheet; a range inside an Excel Table already has its own buttons.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
xlsx.autofilter(wb, sheet, range, [remove=false]) | wb —xlsx.autofilter(wb, sheet, remove=true) takes it off.sheet —xlsx.autofilter(wb, sheet, remove=true) takes it off.range —Puts filter buttons on the header row of range (header row plus the data below it).remove optional (default false)xlsx.autofilter(wb, sheet, remove=true) takes it off. | no output | The filter is switched on, not applied: no row is hidden. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.