combobox selection to change cell range data

  • Thread starter Thread starter ryan.fitzpatrick3
  • Start date Start date
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.
 
Private Sub ComboBox1_Change()
With ComboBox1
If .ListIndex > -1 Then
Range("P5:P28") = .Value
End If
End With
End Sub
 
Back
Top