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

Support for copying 'What-if Analysis' Data Table {TABLE()} functionality between workbooks? #670

Open
ses4j opened this issue Jun 21, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@ses4j
Copy link

ses4j commented Jun 21, 2022

Hi -

I have a use case where I need to copy Excel sheets from one workbook to another, and preserve everything. It works quite well, using:

outputPackage.Workbook.Worksheets.Add(workSheetName, sourceSheet);  

However, it makes use of a somewhat-obscure feature:

image

in the source cell it looks like

image

but in the output cell it has lost the TABLE() and is just a calculated result.

Is there anything I can do? Is this something that can be supported?

Thanks!!

@JanKallman
Copy link
Contributor

Hello,
EPPlus currently don't support the forumula type "dataTable", so we will have to implement it. I'll see if I can add it to the next version.

@JanKallman JanKallman self-assigned this Jun 22, 2022
@JanKallman JanKallman added the enhancement New feature or request label Jun 22, 2022
@JanKallman
Copy link
Contributor

EPPlus 6.1.1. will preserve attributes used by the Table function

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

No branches or pull requests

2 participants