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

Add NoFormulaConversion to Export-Excel #1650

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

AJ0hn
Copy link

@AJ0hn AJ0hn commented Oct 28, 2024

This feature will allow formulas to be 'disabled' when using Export-Excel by treating the values as text.

This is especially useful when your data contains cells that may start with =, such as a Compare-Object output, without having to reformat the data. E.g. "equals".

I've kept the naming convention and functionality similar to the existing 'overrides'. (NoNumberConversion and NoHyperLinkConversion)

@dfinke
Copy link
Owner

dfinke commented Oct 28, 2024

@AJ0hn Thanks for the PR. I would need tests for this and I don't know off the top of my head if there are some in place for the other features of Export-Excel.

I'd also like an example script with data showing how the formulas are passed in.

Thank you.

@dfinke dfinke self-assigned this Oct 28, 2024
@AJ0hn AJ0hn marked this pull request as draft October 31, 2024 11:47
@AJ0hn AJ0hn marked this pull request as ready for review October 31, 2024 12:00
@AJ0hn
Copy link
Author

AJ0hn commented Oct 31, 2024

Thanks for the quick reply @dfinke .

Sure, I've added tests and examples as requested.

Please let me know if you have any questions. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants