Here's what I'm trying to accomplish:
- In cell A1 of Sheet1, I have data validation that requires the user to select from a pick list in Column B of Sheet 2.
- I have a button that runs a macro.
- If the user clicks the button, I want them to be prompted to enter a password based on the pick list selection, the corresponding value in Column B of Sheet 2, and an adjacent password in Column C of Sheet 2.
- If the password is correct, the macro runs. If it's incorrect, they get an error message.
- In Sheet 2, Range B1 = "Option 1". Range C1 = "Password 1"
- In Sheet 2, Range B2 = "Option 2" Range C2 = "Password 2".