Bug 84874 - FILESAVE to .xlsx. MS Excel doesn't load spreadsheets with promptTitle longer than 32 characters.
Summary: FILESAVE to .xlsx. MS Excel doesn't load spreadsheets with promptTitle longer...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: high normal
Assignee: Not Assigned
Depends on:
Blocks: XLSX-Limitations
  Show dependency treegraph
Reported: 2014-10-10 13:38 UTC by Paavo Ingalsuo
Modified: 2019-02-05 10:30 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

House heater dimensioning. (684.40 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-10-10 13:38 UTC, Paavo Ingalsuo
This the same file without psw. (682.80 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-10-11 06:34 UTC, Paavo Ingalsuo
Here same file in .xlsx format without psw (1.44 MB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2014-10-11 06:36 UTC, Paavo Ingalsuo
Now unlocked.. (682.57 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-10-11 06:55 UTC, Paavo Ingalsuo
printscreen of workbook.xml (205.97 KB, image/png)
2014-10-11 12:11 UTC, raal

Note You need to log in before you can comment on or make changes to this bug.
Description Paavo Ingalsuo 2014-10-10 13:38:28 UTC
Created attachment 107662 [details]
House heater dimensioning.

Excel 2013 / Office 365 can´t open a file saved as .xlsx

As attachment here follows a quite large spreadsheet Bergheat46.ods
Comment 1 raal 2014-10-10 15:06:59 UTC
I can confirm with Version:
Build ID: 14907346d792f2f93a00083bbab5086cf56ddb24
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:libreoffice-4-3, Time: 2014-09-26_03:56:08
Excel viewer doesn't open file. I can open file in LO.

@Paavo:could you try to find problematic part of file?
Comment 2 Paavo Ingalsuo 2014-10-10 16:45:38 UTC
@Paavo:could you try to find problematic part of file?

We can try to find something, but it is not easy to me to find the reason of problem. I hope you can find the reason.

There is also one other minor bug.
In graphics on the first sheet there is text "sub-title".
I can delete this text and save worksheet and all is ok.
A little later, when i am opening it again, this "sub-title" is there again back! Why!
May be this is easier to solve.!
Comment 3 raal 2014-10-11 06:11:14 UTC
Hello Paavo,
the sheets are protected with password, please upload file without password.
Comment 4 Paavo Ingalsuo 2014-10-11 06:34:13 UTC
Created attachment 107695 [details]
This the same file without psw.
Comment 5 Paavo Ingalsuo 2014-10-11 06:36:22 UTC
Created attachment 107696 [details]
Here same file in .xlsx format without psw
Comment 6 raal 2014-10-11 06:51:29 UTC
@ Paavo: Tools -> protect document -> document
Pass is still here. I want to try delete parts of document to find where is the problem and I'm unable to delete sheet when document is locked.
Comment 7 Paavo Ingalsuo 2014-10-11 06:55:27 UTC
Created attachment 107698 [details]
Now unlocked..
Comment 8 raal 2014-10-11 12:11:33 UTC
Created attachment 107717 [details]
printscreen of workbook.xml

Hello Paavo,
I tried to delete all three sheets and save as xlsx. This file I can not open in excel viewer. So it looks like this file is somewhat broken. New file saved as xlsx I can open in excel viewer without problem.
Please could you verify this? Delete all sheets, save, open in Excel 2013 / Office 365.

I looked into xlsx file, in subfile workbook.xml are tags <definedNames>. After deleting them, I can resave file as .xlsx and open in the excel viewer. 

This file was originally excel file ("Excel_BuiltIn_Print_Area").
Comment 9 Markus Mohrhard 2015-04-22 04:01:13 UTC
Some initial notes. Our exported files are correct for that document.

The problem is a MSO limitation when it comes to implementing the standard. They have an artificial limit of 32 characters for the promptTitle attribute.

I'm not sure if there is a good fix yet or if we should just consider this a Microsoft Excel bug.
Comment 10 Bartosz 2016-07-24 18:16:46 UTC
Official documentation about promptTitle limitation is available at:
Comment 11 QA Administrators 2017-11-30 06:25:55 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team