diff --git a/Document-Processing-toc.html b/Document-Processing-toc.html index 337ed8cc3..58d0c6031 100644 --- a/Document-Processing-toc.html +++ b/Document-Processing-toc.html @@ -5610,6 +5610,15 @@
  • Does XlsIO support internal links when converting Excel to PDF?
  • +
  • + 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? +
  • diff --git a/Document-Processing/Excel/Excel-Library/NET/faqs/how-to-prevent-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 new file mode 100644 index 000000000..7a8ea71b2 --- /dev/null +++ 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 @@ -0,0 +1,18 @@ +--- +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 +--- + +# 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: + +**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