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

fix Error copying range with ConditionalFormat (ColorScale) to new cell. Fixes #1526 #1527

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

Conversation

jafin
Copy link

@jafin jafin commented Sep 21, 2020

In XLConditionalFormat when the ConditionalFormat values are read and there is a null value (key only), it will throw a nullReferenceException

This change checks to ensure the ConditionalFormat Value is not null before adding to the copied ConditionalFormat values dictionary.
Fixes #1526

@igitur
Copy link
Member

igitur commented Sep 21, 2020

Thanks. Does this fix #1526 ?

@jafin jafin changed the title fix Error copying range with ConditionalFormat (ColorScale) to new cell. relates to #1562 fix Error copying range with ConditionalFormat (ColorScale) to new cell. Fixes #1526 Sep 21, 2020
@jafin
Copy link
Author

jafin commented Sep 21, 2020

yes it does. Updated description.

@jafin jafin force-pushed the bug/copy-conditional-format-null-value branch from c04f71b to 44513e2 Compare October 18, 2021 03:38
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.

Error copying range with ConditionalFormat (ColorScale) to new cell. Throws NullReferenceException
2 participants