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

New Post: Unable to use Save / SaveAs TypeLoadException

$
0
0
Hi,

Many thanks for all your great work on this but I seem to have come up with an issue when saving a file. I get the following error:

Could not load type 'DocumentFormat.OpenXml.Spreadsheet.SmartTags' from assembly 'DocumentFormat.OpenXml, Version=2.5.5631.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

Code is as follows:
        var wb = new XLWorkbook(filename);
        var ws = wb.Worksheet("All DATA");
        ws.Cell("BH4").Value = "Result";
        ws.Cell("BI4").Value = "Validations";

        wb.SaveAs(filename);
Excel file was written in Excel2010

Im using:
.NET Framework 4.5
ClosedXml 0.69.1.0
DocumentFormat.OpenXml 2.5.5631.0

Please could you assist me and point me in the best direction?

Many thanks

Tish

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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