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

Update .XLS export to not produce corrupt file warnings #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Lockyy
Copy link

@Lockyy Lockyy commented Feb 16, 2016

Later versions of office are producing this error when trying to open .xls files created by make_exportable:

The file format and extension of 'file.xls' don't match. The file could be corrupted or unsafe. Unless you trust its source, don't open it. Do you want to open it anyway?

This patch makes the xls export produce correct files that do not produce this warning.

This ensures that errors like http://i.imgur.com/UTUtwcq.png do not occur when opening in later versions of Office
@Lockyy Lockyy changed the title Update excel.rb to export as worksheet Update .XLS export to not produce corrupt file warnings Feb 16, 2016
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

Successfully merging this pull request may close these issues.

1 participant