Hi.
I have a userform, with two textboxes, and a button.
The button enters the values (text and numbers) from the textbox to cells.
Example: Textbox1 and textbox 2. If i write 1A in txbox 1 and 2A in txbox 2, then it enters that value in A2, and B2, then if i type new values, it goes in A3 and B3 and so on.
But is there a way to find duplicates as i press the button to insert the values to the cell?
Example.
If A2 and B2 is Test1 and Test2, then if i enter Test1 and Test2 again, i want a msgbox to "prevent" the user from inserting it, because it already exists in the the sheet.
Is there a easy way to do this?
Thanks
I have a userform, with two textboxes, and a button.
The button enters the values (text and numbers) from the textbox to cells.
Example: Textbox1 and textbox 2. If i write 1A in txbox 1 and 2A in txbox 2, then it enters that value in A2, and B2, then if i type new values, it goes in A3 and B3 and so on.
But is there a way to find duplicates as i press the button to insert the values to the cell?
Example.
If A2 and B2 is Test1 and Test2, then if i enter Test1 and Test2 again, i want a msgbox to "prevent" the user from inserting it, because it already exists in the the sheet.
Is there a easy way to do this?
Thanks
