-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Delete sheet breaks AutoFilter #775
Comments
Thanks for your issue. As the docs of the |
Oh that makes sense. I am sorry, I hadn't read the docs on DeleteSheet! A question, is there a "safe" way to create a new spreadsheet without the first Sheet? I resolved to removing it because I had no idea how to get rid off it :) |
If you needn't the default worksheet named |
I have fixed it, please try to use the master branch code, and this patch will be released in the next version. |
- correct adjust calculation chain in duplicate rows - correct adjust defined name in the workbook when delete worksheet - use absolute reference in the auto filters defined name to make it compatible with OpenOffice - API `CoordinatesToCellName` have a new optional param to specify if using an absolute reference format - Fix cyclomatic complexity issue of internal function `newFills` and `parseToken`
Description
When using autoFilter, removing
Sheet1
seems to be breaking the entire file.This is tested with
LibreOffice
on ubuntu.When uploaded to Office365, it says the file has been repaired.
Steps to reproduce the issue:
Code:
Describe the results you received:
When opening the file, Libre office reports:
Describe the results you expected:
A 1 sheet xlsx file, containing the Autofilter.
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
Ubuntu 18.04
LibreOffice (LibreOffice 6.0.7.3 00m0(Build:3)
The text was updated successfully, but these errors were encountered: