Combobox rowsource from non-contiguous cells

G

Gig

I've looked all over trying to find a solution for this, but no luck
yet.

I would like to set a userform combobox with a rowsource from three
non-contiguous cells, ie., m33, m37, m38. Does anyone know if this is
even possible?

Thanks,
Greg
 
M

Mike H

Hi,

Do it programatically when the userfrom loads

Private Sub UserForm_Activate()
With ComboBox1
.AddItem Range("M33").Value
.AddItem Range("M37").Value
.AddItem Range("M38").Value
End With

End Sub


Mike
 
Top