Hello!
I'm still a newbie to the VBA and Userform usage.
I have developed a Userform that will input the information from the Userform into the cells I have designated. I'm still trying to understand Arrays. But I have it setup in array for Vendor and Probe Type:
The issues I am trying to figure out are:
1) Since all 3 vendors have the same probe types, how do I setup the "Probe" Combox array in such a way as to differentiate between each Vendor? Or is there an easier way to do that?
2) Each "Probe" has its own different "Probe Regions" that can fill 1-3 cells. How do I get it to auto-populate these based on the Probe selected? More arrays? The list of probes is decently long to want to type each of these up :S (but I can do it, this list will not grow).
I'm still a newbie to the VBA and Userform usage.
I have developed a Userform that will input the information from the Userform into the cells I have designated. I'm still trying to understand Arrays. But I have it setup in array for Vendor and Probe Type:
VBA Code:
Private Sub VendorBox_DropButtonClick()
'Add a NEW Vendor into Array below using , and " marks surrounding name
vendor = Array("Metasystems", "Cytocell", "Vysis")
FISHValform.VendorBox.List = vendor
End Sub
VBA Code:
Private Sub VendorBox_AfterUpdate()
Select Case VendorBox.Value
'Add NEW Section entered above as a NEW Case down below following the same format. List the Reagents for that section
Case "Vysis":
probetype = Array("Dual Color, Dual Fusion", "Breakapart")
Case "Cytocell":
probetype = Array("Dual Color, Dual Fusion", "Deletion Probe", "Breakapart", "Alpha Satellite/Centromere")
Case "Metasystems":
probetype = Array("Dual Color, Dual Fusion", "Deletion Probe", "Breakapart", "Alpha Satellite/Centromere")
End Select
ComboBox2.List = probetype
End Sub
The issues I am trying to figure out are:
1) Since all 3 vendors have the same probe types, how do I setup the "Probe" Combox array in such a way as to differentiate between each Vendor? Or is there an easier way to do that?
2) Each "Probe" has its own different "Probe Regions" that can fill 1-3 cells. How do I get it to auto-populate these based on the Probe selected? More arrays? The list of probes is decently long to want to type each of these up :S (but I can do it, this list will not grow).