In your code in for loop you are using numbers from 0 to 20 so it create rows from 0 to 20. To need rows from 1500 to 1999 you should change numbers in for loop that is it should start with 1500 and end with <2000 then it will give rows from 1500 to 1999.