Needs Help With Loop

ham

New Member
Hi everyone,

I have a script that needs to be altered so that it can copy certain info from a spreadsheet and save a new copy using the info copied as its name. This process also needs to be looped.

The pictures below show the parts intended to copy the info which works fine.
4de5a4924b6a785bcfb112e292a61d5c70f5d1ce.png


In the next pictures, it shows the parts intended to paste the info and save the file, however, it pastes all information instead of pasting the respective information according to each time the script is being saved.
39dc0a26113997c999e42ae1bc6e14aeb376b7e7.png


An error like this appears:
e7bcb1312393f2d42d7db55704c3a09187b64794.png

The order in which the information is pasted and the extraction of information is correct, I just need to loop the pasting correctly.

I have attached the script in a zip folder format below(drive link). Any help is much appreciated
https://drive.google.com/open?id=15s7J7XRhxDCxLhc8zx8IUm8x2twwsvNg
 
Top