dongzan0108
dongzan0108
2019-04-18 09:36

Golang Excelize:如何使用行号和列号设置单元格值

  • excel
  • axis

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条回答

为你推荐

换一换