combobox selection to change cell range data

R

ryan.fitzpatrick3

This is probably very easy, I have a combobox that has 1-10, I would
like it where whatever I select in that combobox, lets say 5, the
range P5:p28 gets populated with 5 all of the way down. Thanks.
 
N

Nigel

Private Sub ComboBox1_Change()
With ComboBox1
If .ListIndex > -1 Then
Range("P5:p28") = .Value
End If
End With
End Sub
 
Top