On Thursday, January 26, 2017 at 7:33:42 PM UTC+2, David Sofo wrote:
>
>
> Hi,
>
> I am using this Go library https://github.com/tealeg/xlsx to to read 
> excel file . Is there a way to get all sheets names? Thank you.
>

I have not used it myself but looking at the doc:

    xlFile, err := xlsx.OpenFile(excelFileName)
    for _, sheet := range xlFile.Sheets {
       fmt.Println(sheet.Name)
    }



HTH
ain


 

>
> Regards
> David
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to