cell.c generates note instead of comment in an Excel file. #2542
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2542
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, trying to add a comment to a cell, which (according to the docs) can be done by setting value of cell.c to a given object containing the author and the comment itself. That works almost ideal, but what I get in the generated Excel file is a note instead of a comment. I'm assuming that it can be caused by the change that was made by Microsoft here: https://support.microsoft.com/en-us/office/the-difference-between-threaded-comments-and-notes-75a51eec-4092-42ab-abf8-7669077b7be3.
Is there any way to generate a comment instead of a note?
Thanks in advance.
In the past, "Notes" were pure VML while "Comments" were XML. This works in Excel 2007 through 2016 and older versions of Excel 2019.
With the update, they relegated the comments to "Notes" status and introduced the new threaded comments.
Excel did not even preserve the message correctly. It now adds a preamble in the original comment for both XLSX and XLSB files:
So from the looks of things, at least parsing will have to be implemented.