excel - Golang Excelize : how to set cell value with row nmber and column number

标签 excel go axis

我正在尝试编写一个函数,该函数使用 Excelize 编写一个字符串数组以在 Go 中表现出色。 我的问题:如何使用行号和列号来处理单元格,而不是“axis”参数的“A1”语法类型?

// Writes the header of the file:  
xlfile.SetCellValue("Sheet1", "A1", "1")

// Instead of "A1", I would like to use row number and col number as parameters

最佳答案

CoordinatesToCellName将 [X, Y] 坐标转换为字母数字单元格名称或返回错误。

关于excel - Golang Excelize : how to set cell value with row nmber and column number,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55743188/

相关文章:

vba - 用VBA复制Excel中的相对公式

java - 选择一个 excel java api

python - 设置 matplotlib xlimits(使用 Pandas DataFrame)

go - 如何序列化 [string]reflect.Value 类型的映射?

go - 在 Go 中生成私钥时使用什么类型的阅读器?

java - 我需要 Axis 使用 J2EE 创建 Web 服务吗?

java - Java 中的 .Net SecureString

vba - 隐藏用户表单后如何返回或重新显示它?

可以识别 'mixed'二项式编码数据序列的Excel公式?

file - 你如何在 Go 中复制文件?