bensonsearch
Well-known Member
- Joined
- May 26, 2011
- Messages
- 844
Hi All,
I need to hide all sheets from being seen by the users. I have put in the workbook open event the following
however it stalls on the sheet6 one saying it failed. I comment it out and all good but that sheet is still there. any idea how to hide them all just showing the form in the centre of a blank background of excel?
I need to hide all sheets from being seen by the users. I have put in the workbook open event the following
Code:
Sheet1.Visible = xlSheetVeryHidden
Sheet2.Visible = xlSheetVeryHidden
Sheet3.Visible = xlSheetVeryHidden
Sheet4.Visible = xlSheetVeryHidden
Sheet5.Visible = xlSheetVeryHidden
Sheet6.Visible = xlSheetVeryHidden
however it stalls on the sheet6 one saying it failed. I comment it out and all good but that sheet is still there. any idea how to hide them all just showing the form in the centre of a blank background of excel?
Last edited: