rja7218 rja7218 - 2 months ago 25
Python Question

xlwings:copy a worksheet, and reproduce it at the end of an existing worksheet

I'm useing xlwings on a Windows.

I copy a worksheet and want to reproduce it at the end of an existing worksheet now.
In a worksheet to copy, I use a photograph and the figure.

I know some sample code to reproduce copy a worksheet.

I would appreciate it if you could answer my questions.

Answer

I was settled with this code:

Sheet(1).xl_sheet.Copy(Before=Sheet(1).xl_sheet) 
Comments