Skip to content
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

empty file is corrupted #837

Open
whimax opened this issue Jan 21, 2025 · 0 comments
Open

empty file is corrupted #837

whimax opened this issue Jan 21, 2025 · 0 comments

Comments

@whimax
Copy link

whimax commented Jan 21, 2025

simple code:
func main() {
wb := xlsx.NewFile()
wb.AddSheet("My New Sheet")
wb.Save("out.xlsx")
}
creates a file that does not open in excel. Excel says the file is corrupted.
Is this a bug or am I doing something wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant