-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] Is there any workaround to "Unable to access External Workbook" when exporting ? #2865
Comments
I don't think there is. It's functionality of the PhpSpreadsheet package, so it's also not something we can provide. Perhaps try a feature request over there. |
Does anybody know, what means this part of code?
|
As the code comments says: "Fallback for calculations referencing external files.". If the calculation fails because the workbook is external, it will use the cached value instead of trying to calculate again. |
I suppose this is only usable when importing, because external workbook is not available during export. Is is true? |
Yes |
This bug report has been automatically closed because it has not had recent activity. If this is still an active bug, please comment to reopen. Thank you for your contributions. |
The problem still continues. |
And the "problem" will continue. This is not something that will ever be addressed by PhpSpreadsheet. It isn't even straightforward in MS Excel itself, because Excel requires the external spreadsheet file to be open as well as the spreadsheet containing the formula. |
I also faced this problem that after checking, I realized that we had a bulk importer from an Excel file, where the cells with the formula used inside and linked to another sheet were directly stored in the database, which was saved when the spreadsheet was exported. It was trying to find that sheet and get in touch. |
Why does this occur? I'm not using formulas or doing anything complicated. It's happening on one of my export files ONLY when the export data is over 420 items (number that I tested could be lower, idk), I also tried to download a file with only 200 items and that one downloaded no issues. This is the map method so you can see that the export is simple
Edit: I narrowed it down to Edit 2: I found the problem, I thought it was weird I was getting this error when it seems to be related to formulas which I'm not using, turns out the address field had some that started with |
Prerequisites
Versions
Description
I want to access external spreadsheet in toArray() method of Export class to receive number to multiply in formula. I´m getting error: Unable to access External Workbook. Source code says: // It's a Reference to an external spreadsheet (not currently supported) Is there any workaround?
Additional Information
I´m trying to create column filled with formula: "=D1*[file.xlsx]list'!D1"
The text was updated successfully, but these errors were encountered: