Hello,
I'm hoping someone can help me with auto-populating my VBA userform.
I have one sheet called "Master" which holds data entry for customer orders. A button on this worksheet opens the userform called DataInputForm.
There are up to 40 ComboBoxes on the data entry form, the initial one is for chosing the client 'ComboBoxCLIENT' and the rest are drop downs for chosing products ordered 'ComboBoxProductA', 'ComboBoxProductB' etc.
A second sheet ("Orders") has standing orders for some clients. So in column A there are a list of Clients (that match the dropdown combobox on the userform) and in columns B to AO there are potentially up to 40 products which need to be populated into the userform if a specific client is selected.
So far I have this code, but its tripping up on the "Set rAll" line but I can't figure out why? I had planned on doing this code for each product combobox but i'm sure there is a better way of doing it?
Many thanks
Bookmarks