Setting ComboBox ControlSource in code
Jim,
It is a string property so you should use Address not Value.
But, it can also only return a value to one cell, not many.
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
"JimPNicholls" wrote in message
...
Excel 2k
Morning!
I've trying to set the control Source for a combobox (On a
userform). I have:
Private Sub UserForm_Initialize()
Me.ComboBox1.ControlSource = Range("C1:C11").Value
End Sub
This isn't working (Type mismatch). Can anyone help?
|