On a userform i have these Function's
Combobox1
Labels 1 to 7
Textbox 1 to 10
and Commanbutton 1 to 7
I need the Combobox to Look on Range from Cell ("A1:A127") i get it to work on these Codeline
But i can't figure out to get Value from Cell when Combobox1 is Set to "1" then Label1 set value from "B1" and Label2 set value From "D1"
and so on with Combobox1 from 1 to 127 Label1 and Label2 take value from B1 to B127 and D1 to D127
hope that was enough info
Combobox1
Labels 1 to 7
Textbox 1 to 10
and Commanbutton 1 to 7
I need the Combobox to Look on Range from Cell ("A1:A127") i get it to work on these Codeline
Code:
Private Sub UserForm_Initialize()'add column of data from spreadsheet to your userform ComboBox
ComboBox1.List = Sheets("Ark3").Range("A1:A127").Value
end Sub
and so on with Combobox1 from 1 to 127 Label1 and Label2 take value from B1 to B127 and D1 to D127
hope that was enough info