Qu

xlsx.autofilter

Builtin index · File I/O

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.

CodeInputOutputDescription
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 outputThe 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.