I have 2 requirements:
1) I want to create a new sheet from existing sheet in current spreadsheet programmatically
2) I want to copy one sheet from one spreadsheet to another spreadsheet programmatically
Help appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since you have not specified the environment/language. I think the easiest way to do this is using Apps Script as it’s built-in in Google Spreadsheets.
Here is a sample code that does this:
To run this, just open the spreadsheet with the sheet you want to copy, click the menu Tools > Script editor.. Paste the code, Save and Run > myFunction