You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [X] a bug report
- [ ] a feature request
- [X] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)
What is the expected behavior?
That a valid spreadsheet be produced when a cell contains a reference to another cell.
What is the current behavior?
Excel reports an error when opening a file that has been created with a reference to a cell that contains a string that starts with '#'.
What are the steps to reproduce?
The example below sets 'A1' to "#define M" and sets 'A2' as a reference to this.
The xlsx file that is produced gets an "Alert" dialog showing "We found a problem with some content in ’test.xlsx’. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes." when it is opened with Excel.
Changing the content of 'A1' to "'#define M" (note the extra ' at the start) results in the generation of a valid file.
This is:
What is the expected behavior?
That a valid spreadsheet be produced when a cell contains a reference to another cell.
What is the current behavior?
Excel reports an error when opening a file that has been created with a reference to a cell that contains a string that starts with '#'.
What are the steps to reproduce?
The example below sets 'A1' to "#define M" and sets 'A2' as a reference to this.
The xlsx file that is produced gets an "Alert" dialog showing "We found a problem with some content in ’test.xlsx’. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes." when it is opened with Excel.
Changing the content of 'A1' to "'#define M" (note the extra ' at the start) results in the generation of a valid file.
Please provide a Minimal, Complete, and Verifiable example of code that exhibits the issue without relying on an external Excel file or a web server:
The text was updated successfully, but these errors were encountered: