We have come across a slight problem when saving a spreadsheet to PDF. The error, which appears to be some sort of memory leak, occurs when calling .save using FileFormatType.Pdf and only occurs (so far) with one particular spreadsheet.
I have attached the spreadsheet, which through trial and error I have reduced down to the "minimum" required to cause the error, in the hope that this will help you to diagnose the problem more easily. I can supply the original if required.
I can’t seem to replicate this error by manually recreating the spreadsheet, and so I am unsure which particular feature of the spreadsheet is causing it.
The same error occurs if I save the spreadsheet into Excel 2003 format and with both v1 and v2 of the Cells assembly.