My code gives me a series of years from 2016 to 2019
Max = WorksheetFunction.Max(Workbooks("x.xltm").Worksheets("y").Range("A:A"))
nb_year = Max - 2016
last_cell = 2 + nb_year
new_y = 0
For Y = 2 To last_cell
Workbooks("x.xltm").Worksheets("z").Cells(Y, 2) = 2016 + new_y
new_y = new_y + 1
Next Y
But I want to repeat it 14 times, thus I would have , [2016,2017,2018,2019,2016..], I guess I have to use a Do While or While but I don't really know the condition I should put. Thank you.