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

Valid excel range reference is considered invalid by EPPlus (ExcelAddress.IsValidAddress function) #1101

Closed
lafar6502 opened this issue Oct 13, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@lafar6502
Copy link

EPPlus usage

Commercial use (I have a commercial license)

Environment

Windows/.Net framework 4.8

Epplus version

6.2.9

Spreadsheet application

Excel

Description

Using EPPlus for performing calculations based onExcel from a C# application (so we can avoid using Excel server side).

And we're using named cell ranges for referring to particular cell or region in the spreadsheet.
Previously we've been using EPPlus v 4.x.x and i think it worked correctly (however, i might be mistaken)

but after upgrading to 6.2.9 (and 6.2.10 too) EPPlus doesnt consider this reference to be valid excel address:

address = "Sheet1!Table313[#All]"
v = OfficeOpenXml.ExcelAddress.IsValidAddress(address)
//v == false

the address Sheet1!Table313[#All] refers to an Excel Table together with its headers
this is name manager in Excel, showing the problematic reference
image

@lafar6502 lafar6502 added the bug Something isn't working label Oct 13, 2023
@OssianEPPlus
Copy link
Contributor

Thanks for letting us know! We're looking into this

@JanKallman
Copy link
Contributor

This is bug. We will provide a fix for this shortly.

@JanKallman
Copy link
Contributor

Fixed in EPPlus 6.2.11 and 7.0.0

@lafar6502
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants