Hi,

I have a csv file and I want to move to a specific line and then begin overwriting data from that line onwards.

I know from certain variable the specific line I want to move to.

For example,

Say I had a csv file with 5 lines of data, I may wish to move to line 3 and then begin to re-write data on line 3 and onwards.

simple eg) csv file
1,3,4
2,3,5,6,7
1,2,3
3,4,5
6,7,8

Move to 3rd line (1,2,3) and begin to edit from there onwards. Everything on and after line 3 is irrelevant and will be overwritten so it can as well just be deleted from that point onwards.

So, again. I do not know what will be the data on line 3 (in this example) but I do know that line 3 is where I want to start editing from.

Any ideas/suggestions?

many thanks!!