I have 2 lists coming from an ini file
these are user name and PIN lists (non-critical so in-clear pwd's is ok for me)
A user selects their name and enters their PIN. I want to check name against PIN to allow code to continue
I know i can get the position of the user name
vfinduserpos = InStr(1, vUserList, UserName)
bob = 9
but I can't figure out a way to find the position of bob's pin and read it.
x = mid(vuserpins,vfinduserPos,4)
doesn't work because names & PINs may be different lengths so I get things like 4,19
So - how can I find position of word in one list, use that position to look up the same word position in another list?
(btw I suck at regex so please be gentle)