Hi Folks
This is my first post so please excuse the simplicity of the request
I have a userform that I use for data entry with lots of combo boxes, list boxes and text boxes
One thing i haven't cracked yet is to check for duplicates against two matching fields
Let me explain
If a user (for example) enters 'SAB' (which will be stored in column A) and then 'UK' (which will be stored in column B) and there is already an exact match for both, then I need to inform the user that a matching record already exists
The following is OK: (the dots below are meant to illustrate spaces between the columns!!)
Col(A).....Col(B)
SAB........UK
SAB........USA
SAB........Italy
BUT, if a user then tries to enter:
Col(A).....Col(B)
SAB........UK
I need my userform to register a duplicate entry.
My sub routine is detailed below
Many thanks for any help,
Steve
Bookmarks