View definition

(*File).ToSlice

Defined in github.com/tealeg/xlsx/file.go

Description

Return the raw data contained in the File as three dimensional slice. The first index represents the sheet number, the second the row number, and the third the cell number.

For example:

var mySlice [][][]string
var value string
mySlice = xlsx.FileToSlice("myXLSX.xlsx")
value = mySlice[0][0][0]

Here, value would be set to the raw value of the cell A1 in the first sheet in the XLSX file.

ToSlice is referenced in 1 repository

github.com/tealeg/xlsx