WORKBOOK.HIDE macro

Equivalent to clicking the Sheet command on the Format menu, and then clicking Hide on the Sheet submenu. Hides sheets in the active workbook.

Syntax

WORKBOOK.HIDE(sheet_text, very_hidden)

Sheet_text    is the name of the sheet to hide. If omitted, the currently selected sheet(s) are hidden.

Very_hidden    specifies how the sheet is hidden. If TRUE, then the sheet name does not appear in the Unhide dialog box. After using this argument, use WORKBOOK.UNHIDE to unhide the sheet. If FALSE or omitted, hides the sheet but does not prevent the sheet's name from appearing in the Unhide dialog box.

Remarks

Return to index