Revision: 70702
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 13, 2016 19:45 by cueballrawn
Initial Code
Sub HideAdminSheet() Dim ws As Worksheet For Each ws In ActiveWorkbook.Worksheets If Left(ws.Name, 6) = "Admin_" Then ws.Visible = xlSheetHidden End If Next ws End Sub
Initial URL
Initial Description
Hide specific worksheets in a workbook that contain a prefix. This example uses "Admin_", although this can be changed easily.
Initial Title
Excel (VBA) hide specific worksheets
Initial Tags
excel
Initial Language
Visual Basic