Hello,
I have a workbook with 3 spreadsheets with the following labels. The first is the "opening" sheet, the second is "Private", the third is "Public"
The opening sheet is nothing but 2 buttons. You can enter either public or private. I have macros for each button. If you click the private button you see all tabs. If you click the public button you only see the "public" worksheet. What I want to do is have my private macro run, only if a correct password is entered into a cell B11.
Is there a way to have it so if you click private button with the wrong password, or nothing in cell B11 then you get an error message.... but if you enter the correct password then the macro runs?
Thanks
I have a workbook with 3 spreadsheets with the following labels. The first is the "opening" sheet, the second is "Private", the third is "Public"
The opening sheet is nothing but 2 buttons. You can enter either public or private. I have macros for each button. If you click the private button you see all tabs. If you click the public button you only see the "public" worksheet. What I want to do is have my private macro run, only if a correct password is entered into a cell B11.
Is there a way to have it so if you click private button with the wrong password, or nothing in cell B11 then you get an error message.... but if you enter the correct password then the macro runs?
Thanks