dongzan0108
2019-04-18 09:36Golang Excelize:如何使用行号和列号设置单元格值
I am trying to write a function that writes a string array to excel in Go, using Excelize. My question: how to address a cell with row number and col number, instead of the "A1" type of syntax for the "axis" parameter ?
// 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
- 点赞
- 回答
- 收藏
- 复制链接分享
2条回答
为你推荐
- golang服务器:如何连续检索多个文件
- http
- tcpserver
- 1个回答
- Golang运行时:goroutine堆栈超过1000000000字节的限制
- json
- marshalling
- 1个回答
- GoLang Redis:地图和切片
- json
- redis
- 1个回答
- 如何使用golang导入csv并保存在MSSQL数据库中?
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 1个回答
- Golang http:多个响应.WriteHeader调用
- web
- forms
- 1个回答
换一换