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

Clone across excel files #113

Open
JacobBas opened this issue Nov 24, 2020 · 2 comments
Open

Clone across excel files #113

JacobBas opened this issue Nov 24, 2020 · 2 comments

Comments

@JacobBas
Copy link

Hi,

I'm currently working on a project where I would like to create new, formatted workbooks from already created and formatted workbooks.

For example, let say we have workbook1.xlsx which contains sheets ("sheet1", "sheet2", "sheet3") and workbook2.xlsx which contains sheets ("sheet4", "sheet5", "sheet6") where each sheet contains very specific formatting and data that I would like to keep constant while creating a new_workbook.xlsx that contains sheets ("sheet2", "sheet5").

Currently I know of the method cloneSheet(object, sheet, name) but this only allows for this functionality inter-workbook.

The question is if this is something that can already be done within the package or if there is some sort of workaround that can be done to get this functionality.

Thanks

@cryptobiotic
Copy link

I would also be interested in this functionality.

@spoltier
Copy link
Member

Hi, this is not currently supported, unfortunately it doesn't look like apache POI provides the required underlying functionality - a sheet only exists in the context of a workbook.

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

No branches or pull requests

3 participants