Never mind guys, I found the mistake today after trying to describe the script and issue in detail It was a spelling mistake

But I do have two small questions that I have not been able to work out.

1. Is there a way to set the for-loop variable (i in my script) to be certain values that you can f.x. write into the Excel-sheet, instead of just jumping in a range with a certain step size? I imagine something like:

 For i = 20 AND 35 AND 40 AND etc...
2. Do you see a more elegant way to write the code instead of having two for-loops?
The reason for the two loops is that I have csv files that are called "name1_year" that should go to sheet "name1*_year" and then csv files called "name2_year" that should go to sheet "name2*_year". Year = 20, 25, 30 and 35.
But I can't seem to change the names within the same loop...

Best regards.