-
Notifications
You must be signed in to change notification settings - Fork 130
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
Store cells as excel number and not as excel text #49
Comments
|
We have tested it. It is not working. |
Sorry, I should have updated this discussion thread. Shortly afterward had submitted this pull request (#46) to write numbers as numbers. You can use this branch, https://github.com/protobi/msexcel-builder. For a test, run |
msexcel-builder-colorfix-intfix Here is an npm package that includes this fix as well as another known cell color issue. I am currently using this and it is working. |
Thanks Pietersv and Mattwilsn for resolving my issue. Now its working fine. @mattwilsn How to apply font color for fonts in cell? Thanks |
var sheet = workbook.createSheet('mySheet', 3, 3);
var myInt = 42;
sheet.set(2,4,myInt);
on save/create of mySheet excel myInt is created as a text input.
I have to manually convert every cell to an excel number.
Is there a way to create a workbook with numbers and not text?
The text was updated successfully, but these errors were encountered: