I could really use some help with a project that seems to be growing rapidly beyond my abilities. I have a userform that is serving as a portal to other items in the workbook. First problem is getting user passwords working. I will have 1 master password and 3 user passwords. Of course the master will be allowed into everything. The users need to be able to access only their unit's specific forms. I would like the macro to take the selections of the two option boxes on the userform and do the following:
Lets say I have a logsheet named Unit A, when the logsheet option is selected in one option group and Unit A in the other, if the password validates for that unit, it will open the unit specific logsheet. If the password is incorrect or not matching with the unit designation, it will not open the logsheet.
I have been looking around for the answer, but I haven't found a cookie cutter type solution I can get to work with my limited skill and ability in VBA programming. The latest thing I came across that seemed promising was the use of case statements. However, I am not sure how this would work with multiple selections and a password.
Attached is a sample form I have been working on.
Thank you for any help or direction you may provide.
Patrick
Bookmarks