SHARE
TWEET

Untitled

a guest Jun 15th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 'var ss = SpreadsheetApp.getActiveSpreadsheet(); '
  2. 'sheet = ss.getSheetByName('Template');'
  3. 'sheet2 = sheet.copyTo(ss).setName('My Copy');'
  4.      
  5. 'var ss = SpreadsheetApp.getActiveSpreadsheet();'
  6. 'var ActiveSheetName = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet().getName();'
  7. 'sheet = ss.ActiveSheetName;'
  8. 'sheet2 = sheet.copyTo(ss).setName('My Copy');'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top