We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

[.Net][] Can't clear revision logs when a workbook contains many revision logs


When attempting to clear the revision logs for a workbook through a block like this:


we get an ArgumentOutOfRangeException.

It appears to be happening when a workbook has a significant number of revision logs (in this case, one of the workbooks has 99 and the other has 124).

Strangely enough, it appears it does actually clear out the revision logs, but it will throw the out of range exception regardless.



Thanks for your query.

Please send your sample Excel file to reproduce the issue and provide feedback after investigating it on our end.

I’m unable to send the original document and am having trouble recreating the scenario on another. Will update if I can get it working.


Thank you for providing feedback. We will assist you as soon as sample data is available.