You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since version 7.2, copying a row as a new rows within a worksheet throws exception, unless we do specify this flag - ExcelRangeCopyOptionFlags.ExcludeDrawings :
// rowNumber + 1 is the destination row (copying a template row as new row in the worksheet) ws.Cells["A8:M8"].Copy(ws.Cells[$"A{rowNumber + 1}:M{rowNumber + 1}"], ExcelRangeCopyOptionFlags.ExcludeDrawings);
`
Exception seems to come from RangeCopyHelper.CopyDrawings()
The text was updated successfully, but these errors were encountered:
EPPlus usage
Noncommercial use
Environment
Windows
Epplus version
since 7.2
Spreadsheet application
No response
Description
Since version 7.2, copying a row as a new rows within a worksheet throws exception, unless we do specify this flag - ExcelRangeCopyOptionFlags.ExcludeDrawings :
// rowNumber + 1 is the destination row (copying a template row as new row in the worksheet)
ws.Cells["A8:M8"].Copy(ws.Cells[$"A{rowNumber + 1}:M{rowNumber + 1}"], ExcelRangeCopyOptionFlags.ExcludeDrawings);`
Exception seems to come from RangeCopyHelper.CopyDrawings()
The text was updated successfully, but these errors were encountered: