Please help! I have a workbook that contains many comboboxes. I want to populate ALL of the comboboxes at run time with the same information for every one. I have managed to create a For Each.....Next Loop that scrolls through all of the comboboxes (Thanks Euskadi!) in turn, but i'm having problems with the syntax for populating them. So far I have.......
Dim myobject As Shape
For Each myobject In ActiveSheet.Shapes
If Left(myobject.Name, 5) = "Combo" Then
End If
Next myobject
It's the code to add items to the boxes that i can't figure out... i can do them individually using
With Combobox1
.additem strVariable
End With
Any assistance/guidance would be gratefully appreciated!
Ta..
Dim myobject As Shape
For Each myobject In ActiveSheet.Shapes
If Left(myobject.Name, 5) = "Combo" Then
End If
Next myobject
It's the code to add items to the boxes that i can't figure out... i can do them individually using
With Combobox1
.additem strVariable
End With
Any assistance/guidance would be gratefully appreciated!
Ta..