Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Commented Issue: Open ClosedXML Doc on Android Device [8736]

$
0
0
Last year, I converted a program-generated Excel file from the old Microsoft document API to Open XML. It was clunky and time consuming, until I discovered ClosedXML. Wow! What a difference. It has been deployed for a year how, and is working great.

The documents are sent to users as attachments in emails. Recently, users have begun reading their email on their personal Android and iPad tablet PC's and phones. Most of the documents open with no issue, but one or two of the Excel files (created using Closed XML) give an error. The users quickly learned that if the opened the file on their Windows PC and then saved it and forwarded it to themselves via email, that then they could open the file on their mobile device. Obviously, they would like to not have to perform this extra step.

I have confirmed the scenario by copying a file and then opening it and saving it, then sending both to my Android phone. Sure enough, the latter works, but the original does not. I did a compare of both files using the Open XML 2.0 Productivity Tool, and the differences are very minor.

Has anyone encountered this problem, and is there any advice on how I can correct the problem? I am attaching both files for review and assessment.

Thanks.
Comments: Bad news. The problem is with the OpenXML SDK. The files it generates don't jive with some (not all) Android and iOS apps. You can test them by creating an empty spreadsheet with MS OpenXML SDK (2.0 or 2.5). It will not work on some Android apps. There's nothing I can do until Microsoft fixes their OpenXML SDK. Sorry.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>