Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi everyone
I have a one or two workbooks that have hidden sheets. Can anyone help with a macro to indicate via a msgbox that the workbook just opened contains hidden sheets.? Is it possible to list the hidden sheet (Tab) names in the msgbox.? I tried to modify code I found on this site, which informed the user, the sheet tab they had just click on contained hidden rows My code so far does not work, the msgbox shows up whether sheets are hidden or not. Private Sub Workbook_Open() ' On Error GoTo EndMacro: If Me.ActiveWorkbook.Worksheets.Count < _ Me.ActiveWorkbook.Worksheets (xlHidden).ActiveWorkbook.Worksheets.Count Then MsgBox "This Workbook has Hidden Worksheets." End If EndMacro: ' End Sub TIA Regards Bob C |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hidden Worksheets | Excel Discussion (Misc queries) | |||
Indicating Rows to Repeat At Top on all Worksheets Simultaneously | Excel Worksheet Functions | |||
How do I detect hidden worksheets or hidden data on a worksheet? | Excel Discussion (Misc queries) | |||
Worksheets hidden | Excel Programming | |||
Hidden worksheets | Excel Programming |