Option Explicit
Sub Repeats()
Dim rControls As Range, rControl As Range
Dim iOut As Long, iNum As Long
Application.ScreenUpdating = False
'A2 to end of data, 2 columns
Set rControls = Range(ActiveSheet.Range("A2"), ActiveSheet.Range("A2").End(xlDown)).Resize(, 2)
iOut = 2
For Each rControl In rControls.Rows
For iNum = 1 To rControl.Cells(1, 2).Value
'starts in row 2 column 5
ActiveSheet.Cells(iOut, 5).Value = rControl.Cells(1, 1).Value
iOut = iOut + 1
Next iNum
Next
Application.ScreenUpdating = True
End Sub