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

save after read row, the first row data will be cleared #822

Closed
lpxxn opened this issue Sep 22, 2024 · 1 comment
Closed

save after read row, the first row data will be cleared #822

lpxxn opened this issue Sep 22, 2024 · 1 comment

Comments

@lpxxn
Copy link

lpxxn commented Sep 22, 2024

	v, err := xlsx.OpenFile("./original.xlsx")
	if err != nil {
		panic(err)
	}

	sheet := v.Sheets[0]
	_, err = sheet.Row(sheet.MaxRow)
	if err != nil {
		panic(err)
	}

	v.Save("./original_save.xlsx")
image

original.xlsx

@lpxxn
Copy link
Author

lpxxn commented Sep 22, 2024

#820

@tealeg tealeg closed this as completed Sep 22, 2024
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

2 participants