Folks,
I am trying to put a a list of names into a ComboBox that is inserted in a user form. I have used the record macro feature to capture the code. Here is the snippet that I put into the ComboBox procedure
When I run it, the dialogue box comes up with the ComboBox but it is empty. How do I put a list into it?
Ultimately, say I have 2 materials each with 2 different mechanical properties. I want to perform some calcs when a material is selected.
Any help will be appreciated.
Thanks
I am trying to put a a list of names into a ComboBox that is inserted in a user form. I have used the record macro feature to capture the code. Here is the snippet that I put into the ComboBox procedure
Code:
Private Sub ComboBox1_Change()
With Selection
.ListFillRange = "'Table of Material Data'!$A$3:$A$19"
.LinkedCell = ""
.DropDownLines = 8
.Display3DShading = False
End With
End Sub
When I run it, the dialogue box comes up with the ComboBox but it is empty. How do I put a list into it?
Ultimately, say I have 2 materials each with 2 different mechanical properties. I want to perform some calcs when a material is selected.
Any help will be appreciated.
Thanks