есть много недостающих частей в вашем вопросе, но я пытаюсь создать код для удовлетворения ваших потребностей. Вы можете попробовать:
Option Explicit
Sub makro3()
Dim LastColumn As Long, LastRow As Long, Column As Long, Row As Long, Paid As Long
'In your quetion there is no starting date so i use the current one
With ThisWorkbook.Sheets("Sheet1")
LastColumn = .Cells(3, .Columns.Count).End(xlToLeft).Column
For Column = 2 To LastColumn
Paid = .Cells(3, Column).Value
For Row = 1 To Paid
LastRow = .Cells(.Rows.Count, Column).End(xlUp).Row
.Cells(LastRow + 1, Column).Value = DateAdd("m", Row, Date)
Next Row
Next Column
End With
End Sub
Результаты:
![enter image description here](https://i.stack.imgur.com/EmAvJ.png)