Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Sometimes when you convert your Excel file to PDF, errors or exceptions occur and the conversion process terminates. You can ignore all such errors during the conversion process by using the PdfSaveOptions.getIgnoreError() property. This way, the conversion process will complete smoothly without throwing any errors or exceptions, but data loss may occur. Therefore, please use this property only if data loss is not critical for you.
The following code loads the sample Excel file. The sample Excel file is erroneous and throws an error during conversion to PDF in 17.11, but since we are using the PdfSaveOptions.getIgnoreError() property, it does not throw an error. However, one rounded red arrow‑like shape, as shown in this screenshot, is lost.

const path = require("path");
const AsposeCells = require("aspose.cells.node");
// The path to the documents directory.
const dataDir = path.join(__dirname, "data");
const filePath = path.join(dataDir, "sampleErrorExcel2Pdf.xlsx");
// Load the Sample Workbook that throws an error on Excel‑to‑PDF conversion
const wb = new AsposeCells.Workbook(filePath);
// Specify PDF Save Options - Ignore Error
const opts = new AsposeCells.PdfSaveOptions();
opts.IgnoreError = true;
// Save the Workbook in PDF with PDF Save Options
wb.save("outputErrorExcel2Pdf.pdf", opts);
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.