Google script to copy sheet in spreadsheet to new spreadsheet and name new spreadsheet after specific cell
问题 I have a google spreadsheet with multiple sheets within it, I would like to copy each individual sheet into a new spreadsheet and to have the new spreadsheet named after text in a specific cell. I am happy to run the script multiple times so I figured to have it copy the active sheet. i.e. What I have = Spreadsheet called "Colours" - Sheet 1="red", Sheet 2= "blue", Sheet 3= "yellow", etc. What I want = Spreadsheet called "Red". Spreadsheet called "blue", Spreadsheet called "yellow" So far I