Enable userform controls based on single combo box validation of 3 ws values

jarms

New Member
Joined
Jan 14, 2011
Messages
1
Hello,

I have a multipage userform set to open on page(0). I'd like to try to limit what other pages and controls are enabled based upon a user's location and access level. On page(0) I set up a combobox of userid's and a text box where the user can enter a PIN number. I'm using a dynamic named range in the RowSource of the combobox and it points to column A of worksheet(1). The userid, PIN, Location, and Access level are stored in columns A through D for each userid (about 30 rows of entries).

After the user selects their userid in the combo box and enters their PIN in the text box, I'd like to try and have the system find and validate them against the worksheet and then enable either page(1), page(2), or page(3) of the multipage control based on their location in column 3, and also, if they have an Access Level greater then 2, then enable a command button found on page(0).

There are four possible locations and only two possible Access levels.

How would I set up such a validation process?
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,224,521
Messages
6,179,290
Members
452,902
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top