Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: Why XlsxWriter cannot use an existing Excel file as a template? #863

Closed
tonkolviktor opened this issue Mar 8, 2022 · 1 comment
Labels

Comments

@tonkolviktor
Copy link

Question

https://xlsxwriter.readthedocs.io/faq.html?highlight=read#q-can-xlsxwriter-use-an-existing-excel-file-as-a-template

No.
XlsxWriter is designed only as a file writer. It cannot read or modify an existing Excel file.

Although write only mode is certainly useful, I'm wondering why do you not support reading+writing? For my naive thinking this seems like such a basic use-case.

I actually want to allow my users to preformat the report before I fill it with the content, it makes everybody's life easier.

Thanks,
Viktor

@jmcnamara
Copy link
Owner

For my naive thinking this seems like such a basic use-case.

It is an obvious use case and I have thought about, and even tried it. However, it represents a lot of work (probably several years) and it isn't something that I could feasibly do.

I laid out some of my thoughts on a similar question here:

#653 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants