Skip to content

GetSheetName doesn't work on this excel #457

@EP-Toushirou

Description

@EP-Toushirou

Description

GetSheetName doesn't work on this excel (other excels are no problem)
GetSheetName.xlsx

func ReadExcelFile(){
	f, err := excelize.OpenFile("./GetSheetName.xlsx")
	if err != nil {
		Println(err)
		return
	}

	fmt.Println(f.GetSheetName(1))
}

Steps to reproduce the issue:
1.Open the excel and read it and you can find it can't get the result "Sheet1",it got a empty string

Output of go version:
1.12.7

Excelize version or commit ID:
2019.08.04 update github

Environment details (OS, Microsoft Excel™ version, physical, etc.):
win10 1903
office 2019(but i don't know who create this excel and his excel version, it's on our svn)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions