Skip to content

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

@tianhai82

Description

@tianhai82

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

Activity

added
bugSomething isn't working
confirmedThis issue can be reproduced
on Jun 10, 2019
xuri

xuri commented on Jun 12, 2019

@xuri
Member

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

added a commit that references this issue on Oct 23, 2020
25129e1
added a commit that references this issue on Mar 14, 2024
821632c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @tianhai82@xuri

        Issue actions

          RemoveRow with merged cells will cause the next row which originally does not contain merged cells to have merged cells · Issue #424 · qax-os/excelize