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
Thanks for your issue. This bug has been fixed, please upgrade to the master branch code by go get -u github.com/xuri/excelize@master, and this patch will be released in the next version. Note that, as the documentation of this function says, it only changes the name of the sheet and will not update the sheet name in the formula or reference associated with the cell. So there still may be problem formula error or cell reference missing after this is fixed.
Description
Similar to #324. When a sheet is renamed, a filter added before the rename is lost.
Steps to reproduce the issue:
f.AutoFilter("Sheet1", "A2:T18", []excelize.AutoFilterOptions{})
f.SetSheetName("Sheet1", "Test Sheet")
Describe the results you received:
The filter is dropped when the sheet is renamed
Describe the results you expected:
A filter should survive a sheet rename
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
Ubuntu 23.10
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-US (en_ZA.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.4-0ubuntu0.23.10.1
Calc: threaded
The text was updated successfully, but these errors were encountered: