title: Copying sheet - Openpyxl: type object 'Workbook' has no attribute 'copy_worksheet'
body: <p>I am trying to create a copy of a worksheet using openpyxl.</p>
  
  <p>After researching I found this forum: <a href="https://stackoverflow.com/questions/27101024/copy-whole-worksheet-with-openpyxl">Copy whole worksheet with openpyxl</a></p>
  
  <p>Here is the documentation for copy_worksheet: <a href="http://openpyxl.readthedocs.io/en/latest/tutorial.html?highlight=copy_worksheet#manipulating-a-workbook-in-memory" rel="nofollow noreferrer">http://openpyxl.readthedocs.io/en/latest/tutorial.html?highlight=copy_worksheet#manipulating-a-workbook-in-memory</a></p>
  
  <p>I tried using the code shown and it created this error:  </p>
  
  <p><code>Atrribute Error: type object 'Workbook' has no attribute 'copy_worksheet'</code></p>
  
  <p>Here is the code i used:</p>
  
  <pre><code>wb = load_workbook(input.xlsx)
  
  wb.create_sheet(new_sheet)
  
  source = wb.get_sheet_by_name(original_sheet)
  target = wb.copy_worksheet(new_sheet)
  
  wb.save(input.xlsx)
  </code></pre>
  
  <p>What do I need to change to make it work?</p>