-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example does not work #42
Comments
It works for me, can you share full code? |
It's full code. I copy/paste and build. package main import (
) func main() { |
Many thanks! My version Go was 1.7.5. I updated to the latest 1.8.1 and all worked. |
Hi. Example does not work. Library created bad xlsx file (in attach).
xlsx := excelize.CreateFile()
xlsx.NewSheet(2, "Sheet2")
xlsx.SetCellValue("Sheet2", "A2", "Hello world.")
xlsx.SetCellValue("Sheet1", "B2", 100)
xlsx.SetActiveSheet(2)
err = xlsx.WriteTo("Workbook.xlsx")
if err != nil {
fmt.Println(err)
os.Exit(1)
}
Workbook.xlsx
The text was updated successfully, but these errors were encountered: