Hi,
It's not code, but have you tried experimenting with the standard Data Form functionality that's in Excel. This allows you to add new records to a pre-existing list of data.
If you really want to use a User Form, add a combobox or a text box to capture the input, then add some code to the AfterUpdate event. So for instance if your table of data has a range name "Data" and the combo/text box is meant to add a new entry to the first column in the Data table, use something like
For other comboboxes, just change the second element of the .Cells(1,1) code, to .Cells(1,2) or .Cells(1,3) etc.
To detect duplicate names, one way would be to also have the combobox update a defined test cell, say above the list. Then adjacent to this cell use a COUNTIF() function to count the number of occurrences there are of the test cell in the relevant column of the data table. Then wrap the COUNTIF(() in and IF() function so that you have:
Hope this gives you some ideas
Rgds
Bookmarks