Skip to content

使用Magicodes.EPPlus导出Excel时,数据导出为空问题 #220

@TorchZhu

Description

@TorchZhu

在对ExcelRange 为Excel 单元格赋值遇到一个奇怪的问题
如:sheet.Cells["AA5"].Value="asdf";
一直赋不上,赋完后,sheet.Cells["AA5"].Value 还是返回空
image

在导出excel之后,我查了xl\sharedStrings.xml里面是有字符串的,
xl\worksheets\sheet1.xml也有对应的值
只是excel打开之后,单元格没有加载出来

后面换了直接使用EPPlus,导出则没有此问题

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions