Free Excel macros

Make All Hidden Sheets Invisible

Makes every hidden sheet very hidden, so it can't be unhidden from Excel's Unhide menu, only with code.

VBA: Make All Hidden Sheets Invisible

Sub Sheets_Vhide_All()
'This macro will make it so that any previously hidden sheets cannot be unhidden without code; obtained from bgrconsulting.co.uk/macros where help and support can be found.
    For Each Sheet In ActiveWorkbook.Sheets
        If Sheet.Visible = False Then Sheet.Visible = xlVeryHidden
    Next Sheet
End Sub

New to macros? Set up your Personal Macro Workbook first, then paste this code into its module.