Quantcast
Channel: EPPlus Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 2262

Commented Unassigned: Error inserting columns in my template [15195]

$
0
0
Hi guys,

I found another error when I insert columns in my template. See the output file

See the error: http://screencast.com/t/V72YERo9yi1j

![Image](http://content.screencast.com/users/jdnichollsc/folders/Jing/media/daa23c3a-1e67-42ce-9055-b0ca4810fd82/Error%20inset%20columns%20with%20EPPlus.png)

Regards, Nicholls
Comments: the solution that I propose is: (ExcelWorksheet.cs/ InsertColumn method) ``` //.... c._columnMin += columns; c._columnMax += columns; if (c._columnMin > ExcelPackage.MaxColumns) { c._columnMin = ExcelPackage.MaxColumns; } if (c._columnMax > ExcelPackage.MaxColumns) { c._columnMax = ExcelPackage.MaxColumns; } //.... ``` let me know please if it is the solution. Regards, Nicholls

Viewing all articles
Browse latest Browse all 2262

Trending Articles



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