Button to create duplicate sheet adds table of contents row when pressed
I am trying to create a script that when I press a button a sheet will be created with a name from UI. I want the table of contents to add a row with the sheet name as well as formulas referencing certain cells within that new sheet.