Hello all ,
I'm currently working on a bit of a database and I'm trying to get a userform to check if an entry already exists.
basically, column "a" is first name, column "b" is surname and "c" is date of birth.
I have a userform with 3 text boxes where this information can be entered but I'm a bit stumped as to how to code it so that it checks for column "a" data until it finds a match then when it does it checks column "b" data and if it matches it checks column "c" for a match but if it doesnt it tries to find another match in column "a" until the end of the worksheet is reached.
I think it has something to do with loops and if statements in if statements but that's a bit beyond me at this point.
The reason for this is it will be possible for the same first name, last name and date of birth to appear multiple times throughout the database but unlikely for there to be a complete match of all 3 on the same row.
the last bit is relatively easy and i should be able to work out but i would like a msgbox to popup and say match found or not found depending on the case.
sorry for the wall of words and if you need any clarification please feel free to msg me or reply to thread.
Kind Regards
Dave
Bookmarks