Hello! I am working on a spreadsheet (Office 2016) and need some VBA help. I tried watching videos, but it didn’t quite work. This workbook needs to be accessed by several regions- but each region should only be able to see their own source sheet, and only the bigwigs should be able to see all the regions’ sheets along with the master sheet. So, on the one sheet (Current Staffing) that everyone is able to view, I have created buttons. I want to hide all the other sheets, and then if “Dog” region goes in and wants to view their source data, I want them to be able to click their button, which will open a password prompt- which they will enter their region unique password, and then the “Dog” worksheet will be visible to them. When they exit the workbook, I want to make sure that all the sheets revert back to hidden. So, like I said, I’ve inserted a drawing to act as my button. I know that I will need to assign a macro to each of those buttons…but I’m not sure what vba language to use. Is anyone able to…well, basically, give me the code I’d need for one of the buttons? And then I figure that I could replicate the code for the other buttons.
I would like my button to pull up a password prompt that tells the user to enter the password. If the password is correct, I wan the prompt to disappear and the worksheet to be unhidden. If the password is incorrect, I want a message to tell them “Password Incorrect. Retry?” Yes…then allow to try to reenter, No…then close prompt and keep sheet hidden, but allow them to still see the “current staffing” tab. I’m attaching a ppt with screen shots of my ‘dummy’ file. Thank you in advance for any and all help!!!!!!
Please see Topic “Struggling with Code” – double posting.