I was reading and learning to use the technique from http://chandoo.org/wp/2009/01/22/hide-excel-worksheet-tab/
I followed all the steps including "lock project for viewing" and assigned a password to Sheet2 (assigned as xlsheetVeryHidden), click ok and left Visual Basic screen.
But when I reopen visual basic, hi-light sheet2 under "MS Excel Object". I was able to change from xlSheetVeryHidden to xlsheetVisible and the protection did not kick in asking me for a password. What did I do wrong?
I followed all the steps including "lock project for viewing" and assigned a password to Sheet2 (assigned as xlsheetVeryHidden), click ok and left Visual Basic screen.
But when I reopen visual basic, hi-light sheet2 under "MS Excel Object". I was able to change from xlSheetVeryHidden to xlsheetVisible and the protection did not kick in asking me for a password. What did I do wrong?