Please can someone give me an example, how to copy a whole worksheet with styles (from rows and columns) to a second worksheet in the same workbook ? (in a
I had the same problem. I solved using copy instead deepcopy. I found the solution on this site
I hope this works for you!
Version 2.4 will allow you to do this: copy_worksheet
>>> source = wb.active
>>> target = wb.copy_worksheet(source)
For older ones you can probably copy the source code from here
UPDATE: You can't simply graft this code into older versions of the library
You can't do this easily. The best approach is probably the one described in bug 171