A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
For the worksheets and data as shown:
Sub test()
Dim rngC As Range
Dim wsS As Worksheet
Dim wsT As Worksheet
Dim i As Integer
Dim lngR As Long
Set wsS = Worksheets("List")
Set wsT = Worksheets("Output")
For Each rngC In wsS.Range(wsS.Range("B2"), wsS.Cells(wsS.Rows.Count, "B").End(xlUp))
For i = 1 To rngC.Value
With wsT
lngR = .Cells(.Rows.Count, "A").End(xlUp).Row + 1
.Cells(lngR, "A").Value = wsS.Range("H1").Value
.Cells(lngR, "B").Value = rngC.Offset(0, -1).Value
End With
Next i
Next rngC
End Sub