I've applied the code to UF_PlasterCodesP2. I've only added the code to the first two comboboxes, the rest need adding.
First of all I have simplified the loading of the ComboBoxes. Also, I have loaded all the data into the Comboxes, so the code can work without VLOOKUP which should improve the running of the code.
Also, to cut down coding I have used the ComboBoxes Tag Property. If you select ComboBox 1 or ComboBox2 then scroll down the Properties window on the left you will find the Tag Property. This can be used to store information, so I have added 1 to ComboBox1, 2 to ComboBox2. This needs doing for the other ComboBoxes.
The Tag is used to identify the corresponding TextBox and Label
Sub EnterSelection()
''/// enters data for selected item in combobox
''/// does not need VLOOKUP or refer to sheet because all data has been loaded into the combobox
Dim iX As Integer
With Me.ActiveControl
iX = CInt(.Tag)
Me("TextBox" & iX).Value = .List(.ListIndex, 1)
Me("LabelBox" & iX).Caption = .List(.ListIndex, 2)
End With
End Sub
Display More
The ComboBox Change code needs copying and pasting into the remaining ComboBoxes.
I have also eliminated the need to use VLOOKUP to get the corresponding values.