Copy an entire worksheet to a new worksheet in Excel 2010

前端 未结 6 1433
长发绾君心
长发绾君心 2020-12-01 10:28

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

6条回答
  •  眼角桃花
    2020-12-01 11:24

    It is simpler just to run an exact copy like below to put the copy in as the last sheet

    Sub Test()
    Dim ws1 As Worksheet
    Set ws1 = ThisWorkbook.Worksheets("Master")
    ws1.Copy ThisWorkbook.Sheets(Sheets.Count)
    End Sub
    

提交回复
热议问题