Hi
Sub
RemoveCheckboxes()
On
Error
Resume
Next
ActiveSheet.CheckBoxes.Delete
Selection.FormatConditions.Delete
End
Sub
Hi
Sub
RemoveCheckboxes()
On
Error
Resume
Next
ActiveSheet.CheckBoxes.Delete
Selection.FormatConditions.Delete
End
Sub
Hi,
Thanks for your posting and using Aspose.Cells.
We were able to replicate this issue by using the following sample code with the latest version:
Aspose.Cells for .NET 8.7.1. The code throws exception while converting excel file into pdf.
We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as
Hi
Hi Simon,
Hi
Hi,
Thanks for your valuable feedback and using Aspose.Cells.
It is good to know that you have found the temporary solution. We will keep looking into main issue and provide you a fix for it asap. Also we have logged your comment in our database for product team consideration. Have a good day.
Hi,
Thanks for using Aspose.Cells.
Please try the following code to remove all Check Boxes and see if your issue is resolved or not.
C#
Hi
Hi,
Hi,
Thanks for using Aspose.Cells.
There are total of 37,213,122 pages in excel Print Preview if checkboxes are not removed. These are too many pages for rendering. It will cost too much memory and cause out of memory exception while rendering. So it is not a bug but a normal behavior.
Please see the attached screenshot for your reference that shows the number of pages in Excel Print Preview.