Make Multiple Copies Explainer

Thanks man, I didnt see a forget 1 word.

I need helppppppppppppp!!!

here is my code

let spreadsheetId = ‘114hEvWFEbgwmk9TIF54m6bRM6Nb-anMXF4G4qN1cufY’;
let contractId = ‘226uAXY0YRUj-HMW5LQZ2YeeJgyDqmJTpnzRkGmFLch0’;

function makeCopy(id, name) {
let file = DriveApp.getFileById(id);
let copy = file.makeCopy(name);
return copy.getId();
}

function updateDoc(doc, edits) {
for (let edit of edits) {
doc.replaceText(edit[0], edit[1]);
}
}

function main() {
let sheet = SpreadsheetApp.openById(spreadsheetId);
let values = sheet.getRange(“A2:C5”).getValues();
}

main();

for (let row of values){

  let copyId = makeCopy(contractId, row[0] + 'Contract');
  
  console.log(copyId)

}

}

main();

type or paste code here

help me please

let spreadsheetId = ‘114hEvWFEbgwmk9TIF54m6bRM6Nb-anMXF4G4qN1cufY’;
let contractId = ‘226uAXY0YRUj-HMW5LQZ2YeeJgyDqmJTpnzRkGmFLch0’;

function makeCopy(id, name) {
let file = DriveApp.getFileById(id);
let copy = file.makeCopy(name);
return copy.getId();
}

function updateDoc(doc, edits) {
for (let edit of edits) {
doc.replaceText(edit[0], edit[1]);
}
}

function main() {
let sheet = SpreadsheetApp.openById(spreadsheetId);
let values = sheet.getRange(“A2:C5”).getValues();
for (let row of values){
let copyId=makeCopy(contractId, row[0] + ‘Contract’)
console.log(copyId)

}

}

main();

:face_exhaling: :upside_down_face: :slightly_smiling_face: :money_mouth_face: :hugs: :neutral_face: :yum: :face_with_peeking_eye: :smiley: :smile: :yum: :wink: :heart_eyes: :kissing_smiling_eyes: :stuck_out_tongue_closed_eyes: :innocent: :star_struck: :blush: :sweat_smile: :stuck_out_tongue_closed_eyes: :stuck_out_tongue_closed_eyes: