Qu

xlsx.hide_sheet

Builtin index · File I/O

xlsx.hide_sheet(wb, sheet, [state="hidden"])

Input: wb, sheet, state · Output: no output

What it is

Hides a sheet: state="hidden" (Excel's Hide; the user can Unhide it), "very_hidden" (not in Excel's Unhide list -- only reachable from the VBA editor or by calling this again) or "visible" to show it. A workbook keeps one visible sheet, so hiding the last is an error; hiding the sheet the workbook opens on moves the opening tab to the first visible one.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
xlsx.hide_sheet(wb, sheet, [state="hidden"])
wb —not documented yet
sheet —Hides a sheet: state="hidden" (Excel's Hide.
state optional (default "hidden")Hides a sheet: state="hidden" (Excel's Hide.
no output—

Examples

No documentation example calls this form yet. The File I/O chapter is where one belongs.