Skip to content

Call GetSheetName can not get correct sheetname #485

@virteman

Description

@virteman

Description

GetSheetName can not get correct sheet name just return empty string

Steps to reproduce the issue:

  1. my xlsx file's first sheet named "basic". so I call GetSheetIndex("basic") get return value is 15
  2. call GetSheetName(15) return value is "" (empty string)

Describe the results you received:
I get an empty string as sheetname

Describe the results you expected:
I expect the return string should be "basic"

Output of go version:

go version go1.11 linux/amd64

Excelize version or commit ID:

eef232f09ecd41b1f8fc199906ce0be64865802e

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

Ubuntu 18.04, wps 2019( can open and eidt excel 2007 xlsx file), thinkpad x1 carbon

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