To start off, I have created Defined Names from the Formulas tab to link specific formulas to the ListFillRange section in the properties for an ActiveX ComboBox. This method works great on it's own, but I want to make one dynamic ComboBox that all the other drop boxes are dependent on.
For example: If the Dynamic ComboBox says cats then the depended ComboBox would switch from a list of types of dogs to a list of types of cats.
With what I have the easiest way would be to make a list of my already defined names from the formulas tab and simply "copy" and "paste" them into the ListFillRange in the ComboBox Properties, but everything I have read so far only talks about reading a list directly from a spread sheet into the ComboBox.
Here are some codes I have attempted:
I couldn't get this one to actually write anything
Private Sub ComboBox9_Click()
With Selection
.ListFillRange = "Profile1"
.LinkedCell = "$A$9"
.DropDownLines = 33
.Display3DShading = False
End With
End Sub
This one works to copy the formula to the ComboBox, but I want it to copy to the properties and be dependent on a formula, if that is even at all possible. Even better would be the predefined names I mentioned earlier and running them off of those.
Private Sub ComboBox9_Click()
With ComboBox9.Object
.Object.ListFillRange = "Profile1"'Worksheets("Kawneer").Range("S3").Formula
Me.ComboBox9.Properties.ListFillRange = Worksheets("Kawneer").Range("S3").Formula
End With
End Sub
Thank you