Is it possible to insert a worksheet into an existing workbook using Python?

℡╲_俬逩灬. 提交于 2019-12-06 14:39:38
toasteez

I solved this by creating a template as described and used the solution here:

Proposed Solution Using a template xlsx file containing a template sheet nicely formatted with references to another pre-populated worksheet, insert the new worksheet from pandas. The template sheet does not lose the links providing the inserted sheet has same name.

Solution:

Look at How to write to an existing excel file without overwriting data? and this works for the scenario.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!