ArgumentOutOfRangeException when saving spreadsheet with sorted table

Hello

So this one was a bit qorky to reproduce, but here it is:

  • Created excel file with a table that has sorted colum
  • Opened that file in GemBox.Spreadsheet
  • Inserted new row in the range of the table
  • Removed last table row
  • Invoking ExcelFile.Save throws ArgumentOutOfRangeException

Hi Vismantas,

Please try again with this NuGet package:

Install-Package GemBox.Spreadsheet -Version 2026.9.136

Note that this is a hidden pre-released version, to install it you’ll need to run the above command on the NuGet Package Manager Console (Tools → NuGet Package Manager → Package Manager Console).

Does this solve your issue?

Regards,
Mario