This is the fastest way to create multiple google sheets from a google sheet template.
Get the code:
function onOpen() {
var ui = SpreadsheetApp.getUi();
// Or DocumentApp or FormApp.
ui.createMenu('Clone Menu')
.addItem('Clone Sheet', 'cloneGoogleSheet')
.addSeparator()
.addToUi();
}
function cloneGoogleSheet() {
var source = SpreadsheetApp.getActiveSpreadsheet();
var sheet = source.getSheetByName('Sheet1');
//get sheet names
var ss_names = source.getSheetByName('SheetNames');
var ss_last_row = ss_names.getLastRow();
console.log('Row ' + ss_last_row );
for (let i = 0; i < ss_last_row; i++)
{
var row_id = i+1;
var get_sheet_name = ss_names.getRange("A"+ row_id).getValue();
console.log(get_sheet_name);
var old = source.getSheetByName(get_sheet_name);
if (old) source.deleteSheet(old); // or old.setName(new Name);
if(get_sheet_name != "Names")
{
sheet.copyTo(source).setName(get_sheet_name);
}
}
}
You spend weeks building a project.
Your client pays you.
Then the income stops.
Meanwhile, other developers are turning similar skills into products that generate revenue month after month.
A SaaS, plugin, web app, or digital product can continue bringing in customers long after it's launched.
The real question isn't whether you can build one.
It's how much money you're leaving on the table by not starting.
Learn How To Build Monthly Income →