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

Hi,

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

workbook.Worksheets.RevisionLogs.Clear():

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!

@joeymilyli,

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.

@joeymilyli,

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