Duplicate Tab On Click of an Image Make a Button

Learn how to create a button in Google Sheets that duplicates a tab when an image is clicked, enhancing your spreadsheet automation skills.

we're going to make a button a button where we duplicate this tab on the click of an image so let's go create a tab called settings we have a sheet called checklist and we're going to insert an image we could insert an image here if you already have one prepared or a drawing let's just create one simple image that says duplicate checklist will look like this save and close and there we have our image if we click and drag it over here there's three dots here we can assign a script let's go make that script go to extensions app script we're going to create a function called new checklist here we'll take the spreadsheet app.get active spreadsheet get sheet by name checklist with a Capital C and we'll create this variable Create Navigation Buttons in Sheets to Other Sheets Roasting Google Sheets How to Copy To New Tab When Checked Button Styles

checklist equals this and we'll do checklist . copy to where are we going to copy it well we're just going to copy it to this exact spreadsheet get active spreadsheet and we want to set the name checklist command s to save or click this save project button up here now we have a function called new checklist if we just hit run right now we will have to authorize first and then it'll do it and here we have a new checklist we're just copying the checklist let's delete that and we don't want to do it from the appscript we want to go to settings go to our image here and click right on that three dots assign script now all we have to do is copy and paste the name name of the function here click okay and Magical Checklists That Archive Done Items Getting Started Coding in Apps Script Laziest Checklist Ever How to Automatically Copy Tab Every Week

now when I click it it'll run that script and there it is a new checklist now if I hit it one more time issue is going to be that we're going to create the duplicate but it won't be able to name it because it already says new checklist there it says new checklist already exists please enter another name but it actually already copied a created copy of checklist and then just didn't name it if you want to add like a new name here maybe you want to add like a space and plus date and maybe you want to create variable date equals utilities. date new date uh whatever time zone you're in plus six comma and here's a format that might be fun is three M's which is the first three letters of the month two numbers of the day and the year all Create an Automated Task List How to Automatically Copy Tab Every Week

with spaces command s to save if we go back to our settings and let's click duplicate checklist and there it is new checklist February 24th that's when I'm making this video hope you enjoyed that if you're trying to get more automations out of your sheets and trying to make your sheets work while you sleep subscribe today to better sheets here on YouTube Better Sheets Videos Checklist The Simplest Bestest Checklist in Google Sheets Better Sheets Videos Checklist Happy Sheet

Big Year 2027 calendar: the whole year on one Google Sheet

Free 2027 calendar.

Copy it to your Google Drive.

Free. No password, no card. The sheet link shows up right here.