title: Google won't duplicate the active sheet using "duplicateActiveSheet();"
body: <h2>Code:</h2>
  
  <pre><code>ss.setActiveSheet(template);   
  Browser.msgBox("Set Active Sheet");  
  ss.dupliacteActiveSheet();   
  Browser.msgBox("Duplicated Sheet");  
  ss.deleteSheet(sheet);   
  Browser.msgBox("Deleted Old Sheet");  
  ss.moveActiveSheet(1);   
  Browser.msgBox("Moved Sheet");  
  ss.renameActiveSheet("Timesheet2");   
  Browser.msgBox("Renamed Sheet");
  </code></pre>
  
  <p>I just don't understand...I am looking to replace a sheet with its template every week. I have set a time trigger to the above function... When I run the function I get to the "Set active sheet" popup but my code doesn't seem to go any further. Any help is appreciated.</p>