Bug 144204

Summary: Javascript macro not saved to XLS and XLSX
Product: LibreOffice Reporter: Timur <timur>
Component: filters and storageAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal CC: 79045_79045, mikekaganski
Priority: medium    
Version: 7.2.0.2 rc   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=118440
https://bugs.documentfoundation.org/show_bug.cgi?id=107960
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: spam

Description Timur 2021-08-31 07:50:00 UTC
Open ODS attachment 143194 [details] with Javascript macro from bug 118440.
Save as XLS, XLSX, XLSM.
Open in MSO, buttons are there but without macros.
Comment 1 Timur 2021-08-31 07:51:33 UTC
Note a separate bug 97827. So not clear if there should be any development on the existing engine.
Comment 2 Roman Kuznetsov 2021-09-18 07:33:20 UTC
I don't think XLS or XLSX formats allow to save JS scripts inside file

Mike, we need some expert opinion here, could you help?
Comment 3 Mike Kaganski 2021-09-18 08:21:14 UTC
(In reply to Roman Kuznetsov from comment #2)
> I don't think XLS or XLSX formats allow to save JS scripts inside file

I also doubt that this is supported by OOXML formats - or at least by MS Office. But I might be wrong, I'm not an expert in MS Office supported features.
Comment 4 Buovjaga 2023-01-06 13:12:39 UTC
There is a JS API for Excel, but of course it is different from our API: https://learn.microsoft.com/en-us/office/dev/add-ins/reference/overview/excel-add-ins-reference-overview
Comment 5 mcalab2 2024-05-16 04:49:56 UTC Comment hidden (spam)