Skip to content
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

RemoveRow with merged cells will cause the next row which originally does not contain merged cells to have merged cells #424

Closed
tianhai82 opened this issue Jun 10, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@tianhai82
Copy link

I have a spreadsheet with merged cells on row 1 (F1:H1).
After I call file.RemoveRow("Sheet1",1), the new row 1 which originally does not contain any merged cells will have F1:H1 merged.
test.xlsx

	file, err := excelize.OpenFile("test.xlsx")
	file.RemoveRow("Sheet1", 1)
	file.SaveAs("out.xlsx")

Output of go version:
go version go1.12.1 windows/amd64

Excelize version or commit ID:
2.0

Environment details (OS, Microsoft Excel™ version, physical, etc.):
Windows 10, Excel 2016

@xuri xuri added bug Something isn't working confirmed This issue can be reproduced in progress Working in progress labels Jun 10, 2019
@xuri xuri closed this as completed in 821632c Jun 12, 2019
@xuri xuri removed confirmed This issue can be reproduced in progress Working in progress labels Jun 12, 2019
@xuri
Copy link
Member

xuri commented Jun 12, 2019

HI @tianhai82, thanks for your issue. I have fixed it. Please try to upgrade the library with the master branch code.

nullfy pushed a commit to nullfy/excelize that referenced this issue Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants