Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Document-Processing-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -5610,6 +5610,15 @@
<li>
<a href="/document-processing/excel/excel-library/net/faqs/does-xlsio-support-internal-links-when-converting-Excel-to-PDF">Does XlsIO support internal links when converting Excel to PDF?</a>
</li>
<li>
<a href="/document-processing/excel/excel-library/net/faqs/how-to-prevent-a-parse-exception-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?</a>
</li>
<li>
<a href="/document-processing/excel/excel-library/net/faqs/what-is-the-maximum-number-of-hyperlinks-allowed-in-an-Excel-worksheet">What is the maximum number of hyperlinks allowed in an Excel worksheet?</a>
</li>
<li>
<a href="/document-processing/excel/excel-library/net/faqs/what-is-the-maximum-number-of-characters-allowed-in-a-single-Excel-cell">What is the maximum number of characters allowed in a single Excel cell?</a>
</li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
@@ -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.