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

New Post: Border.InsideBorder OutOfMemoryException

$
0
0
I have a huge worksheet, of around 70000 rows by 20 cells. When I go and format the borders it takes a exception "System.OutOfMemoryExceptio".I use:

worksheet.RangeUsed().Style.Border.OutsideBorder = XLBorderStyleValues.Thin
worksheet.RangeUsed().Style.Border.InsideBorder = XLBorderStyleValues.Thin

If I delete the code to set the border,It work OK. Is there any other way to do this?

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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