Skip to content

Fix ParsingException when inserting columns and workbook DefinedName with an invalid formula #2670

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

FlsZen
Copy link

@FlsZen FlsZen commented Apr 30, 2025

This is to resolve #2669 where a defined name with an invalid formula causes calls to InsertColumnsBefore and InsertColumnsAfter to throw a ParsingException. This issue doesn't affect inserting rows due a change made to MoveDefinedNamesRows by #2425. This PR makes the same change for columns and adds a unit test.

… resolve ParsingException when DefinedName has an invalid formula ClosedXML#2669
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ParsingException from InsertColumnsAfter due to hidden, invalid, xleta field
2 participants