Solved the problem after a lot of flailing around.
The simplest way i found was to create a userform containing 1 combobox and a number of textboxs the combobox rowsource was linked to my array to display the unique number (or allow free type).
The following code was used to take the information from the appropriate columns in my array.
Private Sub ComboBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
Dim str1 As String, str2 As String
ComboBox1.BoundColumn = 2
TextBox1.Value = ComboBox1.Value
ComboBox1.BoundColumn = 3
TextBox2.Value = ComboBox1.Value
ComboBox1.BoundColumn = 4
TextBox3.Value = ComboBox1.Value
ComboBox1.BoundColumn = 5
TextBox4.Value = ComboBox1.Value
ComboBox1.BoundColumn = 7
TextBox5.Value = ComboBox1.Value
ComboBox1.BoundColumn = 8
TextBox6.Value = ComboBox1.Value
End Sub
Private Sub UserForm_Initialize()
'TextBox1.Value = ""
'TextBox2.Value = ""
End Sub
Bookmarks