InputBoxes and Vlookups for Password Validation

Rich415

New Member
Joined
Nov 1, 2011
Messages
1
Hi

Im trying to get excel to user Input boxes to act as password validation using lookups from a worksheet contained within the workbook

For example, when opening the user will be asked for 2 pieces of information, lets say Name and 5 digit password. This information is held within a sheet in the workbook. so a1-a20 contain names and b1-b20 contain the corresponding password.

What i'd like excel to do is match what is entered in the 2 input boxes to the sheet (i think this is a vlookup and an OFFSET formula)
If they match then the user enters the workbook, if not then they get a msgbox reading invalid details.

What i also have is the sheet autopopulating to a table, this currently uses the UserName details but is it possible to use the name what was inputted into the Name inputbox?

Thanks for any help
Rich
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Welcome to the Board!

If you PM me your e-mail address I'll send you a workbook that does that.
 
Upvote 0

Forum statistics

Threads
1,222,031
Messages
6,163,496
Members
451,839
Latest member
HonestZed

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