For Each OLEObject In ActiveSheet.OLEObjects
With OLEObject
If InStr(.progID, "ComboBox") > 0 Then
'Paol:o, put your relevant code here you that you wish to run when the _
ActiveX control found on the activesheet is a ComboBox
End If
End With
Next OLEObject
[font=Verdana] [color=darkblue]For[/color] [color=darkblue]Each[/color] OLEObject [color=darkblue]In[/color] ActiveSheet.OLEObjects
[color=darkblue]With[/color] OLEObject
[color=darkblue]If[/color] InStr(.progID, "ComboBox") > 0 [color=darkblue]Then[/color]
.ListFillRange = Range("benefittype").Name
[color=darkblue]End[/color] [color=darkblue]If[/color]
[color=darkblue]End[/color] [color=darkblue]With[/color]
[color=darkblue]Next[/color] OLEObject
[/font]
I was trying that earlier...
ActiveSheet.ComboBox1.ListFillRange = Range("A1:A10")
Gives type mismatch.
Domenic that works a treat! Thanks all for your help.