From 98bf8820e39908b334573f33a26c0bc424744730 Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Wed, 15 Oct 2025 00:44:15 +0530 Subject: [PATCH 1/3] 986879-AvoidParseException --- Document-Processing-toc.html | 3 +++ ...ith-undefined-named ranges-in-a-workbook.md | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 Document-Processing/Excel/Excel-Library/NET/faqs/how-to-avoid-a-parse-exception-when-modifying-formulas-with-undefined-named ranges-in-a-workbook.md diff --git a/Document-Processing-toc.html b/Document-Processing-toc.html index 337ed8cc3..c8fa1ed4e 100644 --- a/Document-Processing-toc.html +++ b/Document-Processing-toc.html @@ -5610,6 +5610,9 @@
  • Does XlsIO support internal links when converting Excel to PDF?
  • +
  • + How to avoid a ParseException when modifying formulas with undefined named ranges in a workbook? +
  • diff --git a/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-avoid-a-parse-exception-when-modifying-formulas-with-undefined-named ranges-in-a-workbook.md b/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-avoid-a-parse-exception-when-modifying-formulas-with-undefined-named ranges-in-a-workbook.md new file mode 100644 index 000000000..2355d1d53 --- /dev/null +++ b/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-avoid-a-parse-exception-when-modifying-formulas-with-undefined-named ranges-in-a-workbook.md @@ -0,0 +1,18 @@ +--- +title: Avoid ParseException when modifying formulas with undefined named ranges | Syncfusion +description: This page explains how to avoid ParseException when modifying formulas with undefined named ranges in Syncfusion .NET Excel library (XlsIO). +platform: document-processing +control: XlsIO +documentation: UG +--- + +# How to avoid a ParseException when modifying formulas with undefined named ranges in a workbook? + +To prevent a ParseException when modifying formulas that reference undefined named ranges, set the following property before updating the formula: + +**C# Code:** +~~~ +workbook.ThrowOnUnknownNames = false; +~~~ + +This ensures that formulas with undefined named ranges won't trigger errors during assignment or modification. \ No newline at end of file From ab603632ce39fd99ee0de4d10d12a0f295b50af4 Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Wed, 15 Oct 2025 01:13:03 +0530 Subject: [PATCH 2/3] 986879-AvoidParseException --- Document-Processing-toc.html | 2 +- ...g-formulas-with-undefined-named-ranges-in-a-workbook.md} | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename Document-Processing/Excel/Excel-Library/NET/faqs/{how-to-avoid-a-parse-exception-when-modifying-formulas-with-undefined-named ranges-in-a-workbook.md => how-to-prevent-a-parse-exception-when-modifying-formulas-with-undefined-named-ranges-in-a-workbook.md} (53%) diff --git a/Document-Processing-toc.html b/Document-Processing-toc.html index c8fa1ed4e..a52c1a9fc 100644 --- a/Document-Processing-toc.html +++ b/Document-Processing-toc.html @@ -5611,7 +5611,7 @@ Does XlsIO support internal links when converting Excel to PDF?
  • - How to avoid a ParseException when modifying formulas with undefined named ranges in a workbook? + How to prevent a ParseException when modifying formulas with undefined named ranges in a workbook?
  • diff --git a/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-avoid-a-parse-exception-when-modifying-formulas-with-undefined-named ranges-in-a-workbook.md b/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-prevent-a-parse-exception-when-modifying-formulas-with-undefined-named-ranges-in-a-workbook.md similarity index 53% rename from Document-Processing/Excel/Excel-Library/NET/faqs/how-to-avoid-a-parse-exception-when-modifying-formulas-with-undefined-named ranges-in-a-workbook.md rename to Document-Processing/Excel/Excel-Library/NET/faqs/how-to-prevent-a-parse-exception-when-modifying-formulas-with-undefined-named-ranges-in-a-workbook.md index 2355d1d53..7a8ea71b2 100644 --- a/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-avoid-a-parse-exception-when-modifying-formulas-with-undefined-named ranges-in-a-workbook.md +++ b/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-prevent-a-parse-exception-when-modifying-formulas-with-undefined-named-ranges-in-a-workbook.md @@ -1,12 +1,12 @@ --- -title: Avoid ParseException when modifying formulas with undefined named ranges | Syncfusion -description: This page explains how to avoid ParseException when modifying formulas with undefined named ranges in Syncfusion .NET Excel library (XlsIO). +title: Prevent ParseException when updating formulas | Syncfusion +description: This page explains how to prevent ParseException when modifying formulas with undefined named ranges in Syncfusion .NET Excel library (XlsIO). platform: document-processing control: XlsIO documentation: UG --- -# How to avoid a ParseException when modifying formulas with undefined named ranges in a workbook? +# Prevent ParseException from undefined named ranges To prevent a ParseException when modifying formulas that reference undefined named ranges, set the following property before updating the formula: From 11fcc053357d68392f59f766bb7f44b942c2a44f Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Wed, 15 Oct 2025 02:01:12 +0530 Subject: [PATCH 3/3] 986879-AvoidParseException --- Document-Processing-toc.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Document-Processing-toc.html b/Document-Processing-toc.html index a52c1a9fc..58d0c6031 100644 --- a/Document-Processing-toc.html +++ b/Document-Processing-toc.html @@ -5613,6 +5613,12 @@
  • How to prevent a ParseException when modifying formulas with undefined named ranges in a workbook?
  • +
  • + What is the maximum number of hyperlinks allowed in an Excel worksheet? +
  • +
  • + What is the maximum number of characters allowed in a single Excel cell? +