title: Copy an entire worksheet to a new worksheet in Excel 2010
body: <p>I have found similar questions that deal with copying an entire worksheet in one workbook and pasting it to another workbook, but I am interested in simply copying an entire worksheet and pasting it to a new worksheet -- in the same workbook. </p>
  
  <p>I'm in the process of converting a 2003 .xls file to 2010 .xlsm and the old method used for copying and pasting between worksheets doesn't paste with the correct row heights. My initial workaround was to loop through each row and grab the row heights from the worksheet I am copying from, then loop through and insert those values for the row heights in the worksheet I am pasting to, but the problem with this approach is that the sheet contains buttons which generate new rows which changes the row numbering and the format of the sheet is such that all rows cannot just be one width. </p>
  
  <p>What I would really like to be able to do is just simply copy the entire worksheet and paste it. Here is the code from the 2003 version:</p>
  
  <pre><code>ThisWorkbook.Worksheets("Master").Cells.Copy
  newWorksheet.Paste
  </code></pre>
  
  <p>I'm surprised that converting to .xlsm is causing this to break now. Any suggestions or ideas would be great.</p>