Hello Everyone on this Forum.
ok. Here it goes.( I am new to VBA and please have patience as this seems a layman's understanding)
i have a user form with ComboBox1 for "Company"entries and various text boxes for addresses viz "tel no", "fax no", "Po box", "mail I'd" etc.
For the ComboBox1 have assigned the the row source( in the properties table) to a dynamic named range called "Company".
This dynamic range named "Company" was created in excel.
I have a command button called "Submit"
Under the command button click ,the information in the comboBox1 and various text boxes do get transferred to a sheet finding the last empty row.
So far so good and now comes the tricky part.
when I again enter as a new entry for previous entered company in the comboBox1, I find there are already duplicates in the drop down list.
first of all I want the duplicates not to be seen,only in the drop down list ( but remain in the transferred sheet)
Secondly since the previous entered company has all the rest of information such as "tel no", "fax no", "Po box", "mail I'd" etc. I do not want to enter the same information again but get the respective text boxes populated so that when I finish with the whole user form and press the "Submit" button, the information get transferred to the sheet.
please note that every new use of user form has some new details every time. Such as date, inquiry number, project details , region etc.
Bookmarks