How can I automatically create and name new sheets in a google spreadsheet from a list of names, such as a student roll sheet? I would like each new sheet to be created when I add corresponding names to a list in a spreadsheet column. The new sheets can be in the same spreadsheet. – Anthony
Tell me more
×
Web Applications Stack Exchange is a question and answer site for
power users of web applications. It's 100% free, no registration required.
|
|
The following piece of script will create a menu item in the spreadsheet named Maintenance. There are three menu option present named: Add Student one by one, Add Student's at once, Delete Sheets
The next piece of code will create a new sheet, only if all information is entered properly. Once the information is entered, select the student that needs to be added and press Add Student:
The third piece of code will create new sheets, based on the sheet names, press Add Student's at once:
The last script is a bonus to delete all the created sheets, execpt the first sheet, press Delete Sheets:
I've prepared an example file, to see things happening: Add Student to New Sheet. |
||||
|
|
