-
Notifications
You must be signed in to change notification settings - Fork 272
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
Can not use ExcelPackage.Workbook.Names if there are any invaild names. #560
Comments
I'll have a look at it. |
What is the actual problem here? |
What I mean is "Excel Defined Names MAY contains invalid chars". |
I was trying to use C# loading Excel Name Manager, however, the name contains invalid chars like "\0". How to deal with that? I can't even 'var name = pkg.Workbook.Names;'.
Error Like this: System.ArgumentException:“Name \0 contains invalid characters”
The class ‘ExcelNamedRangeCollection’ shows
Maybe an update with
StringBuilder
to solve strings like\0
could be implemented?The text was updated successfully, but these errors were encountered: