External links not preserved when writing out xlsx #2306
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#2306
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
I have an .xlsx file that contains a formula that references an external workbook, for example :
='[externalwb.xlsx]Sheet1'!$A$1
When Excel created the .xlsx file, formula is actually stored as :
='[1]Sheet1'!$A$1
The reference to externalwb.xlsx is stored in the embedded file "xl/externalLinks/_rels/externalLink1.xml.rels".
When I parsed the .xlsx file setting the bookDeps and bookFiles options to true, and then wrote the workbook object to a new .xlsx file, that file couldn't be opened in excel properly because it didn't contain the external link information.
During write, SheetJS should include the xl/externalLinks information.