Hi
I have a table with 3 columns: Products, Location and Quantity. I created a userform to add new products and the code runs fine. Still, I would like my userform to do the following:
-if someone tries to add a product and that product exist in different location, I would like to view those location in a combobox (?not sure, never used one). Under the combobox I would like to list number of locations ( like a text: Your products is listed in 3 other location). If I don't choose a location, the user can add a new one but if another location is chosen, a textfield called Quantity will be populated.
I hope this can be done, I searched the web but I didn't find anything similar to this. I don't even know if I should use a combobox for what I need.
I do hope someone can help me with an advice, a link or some code to get my started....
Thank you!
I have a table with 3 columns: Products, Location and Quantity. I created a userform to add new products and the code runs fine. Still, I would like my userform to do the following:
-if someone tries to add a product and that product exist in different location, I would like to view those location in a combobox (?not sure, never used one). Under the combobox I would like to list number of locations ( like a text: Your products is listed in 3 other location). If I don't choose a location, the user can add a new one but if another location is chosen, a textfield called Quantity will be populated.
I hope this can be done, I searched the web but I didn't find anything similar to this. I don't even know if I should use a combobox for what I need.
I do hope someone can help me with an advice, a link or some code to get my started....
Thank you!