One of my user forms has a list of networks that currently I have hard coded for the drop down list using .AddItem, is there a way to point to a table containing the list to populate the combobox?
current code:
Thank you. I have a tNetworkList table with column header and all networks that would be much easier to pull data from. I know with data verification you can create a drop down list in a cell by pointing to the table, can that also be done with the user form combo box?
current code:
Code:
Private Sub UserForm_Initialize()
' Create dropdown list for Network
With NetworkComboBox
.AddItem "network1"
.AddItem "network2"
.AddItem "network3"
.AddItem "network4"
.AddItem "network5"
.AddItem "network6"
End With
' Empty group ComboBox box
GroupComboBox.Value = ""
' Set All Groups radial button default NO
NOOptionButton.Value = True
End Sub
Thank you. I have a tNetworkList table with column header and all networks that would be much easier to pull data from. I know with data verification you can create a drop down list in a cell by pointing to the table, can that also be done with the user form combo box?