xlsx.hide_sheet
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.
| Code | Input | Output | Description |
xlsx.hide_sheet(wb, sheet, [state="hidden"]) | wb —not documented yetsheet —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.