Skip to content

Conversation

@Kurmitha4004
Copy link
Contributor

Hi @Mohan2401,

I have added a FAQ for resolve exception when using Excel97 to 2003 with large row column index. Kindly review the changes.

Regards,
Kurmitha M.

@SyncfusionBuild
Copy link
Contributor

Build Status: INPROGRESS 🔃
Build Location: 868249-LargeRowColumn-FAQ

@SyncfusionBuild
Copy link
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: 868249-LargeRowColumn-FAQ

<li><a href="/file-formats/xlsio/faqs/how-to-upload-a-file-to-azure-blob-and-download-as-stream">How to upload a file to Azure blob and download as stream</a></li>
<li><a href="/file-formats/xlsio/faqs/how-to-set-rounded-corner-for-chart-in-excel-document">How to set rounded corner for chart in Excel document</a></li>
<li><a href="/file-formats/xlsio/faqs/how-to-find-and-replace-text-in-hyperlinks">How to find and replace text in hyperlinks</a></li>
<li><a href="/file-formats/xlsio/faqs/how-to-resolve-exception-when-using-Excel97to2003-with-large-number-of-row-column-index">How to resolve exception when using Excel97 to 2003 with large number of row column index</a></li>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How to fix the ArgumentOutOfRangeException when accessing a large number of rows and columns?

Copy link
Collaborator

@Mohan2401 Mohan2401 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do the requested changes.


# How to avoid exception when using Excel97 to 2003 with large number of rows column index?

When creating a new workbook, it defaults to the Excel97to2003 version, which supports only 65,536 rows and 256 columns. If the row or column index exceeds this limit, an ArgumentException is thrown. To avoid this exception, we recommend setting the default version of the IApplication to Xlsx.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default, when creating a new workbook, it is set to Excel97to2003 version which supports only 65536 rows and 256 columns. When the row and column index exceeds this limit, an ArgumentOutOfRange exception is thrown. To fix this, the DefaultVersion needs to be set as Xlsx. This version supports 1048576 rows and 16384 columns.

@SyncfusionBuild
Copy link
Contributor

Build Status: INPROGRESS 🔃
Build Location: 868249-LargeRowColumn-FAQ

@SyncfusionBuild
Copy link
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: 868249-LargeRowColumn-FAQ

@SyncfusionBuild
Copy link
Contributor

Build Status: INPROGRESS 🔃
Build Location: 868249-LargeRowColumn-FAQ

@SyncfusionBuild
Copy link
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: 868249-LargeRowColumn-FAQ

@SyncfusionBuild
Copy link
Contributor

Build Status: INQUEUE 🕒
Build Location: 868249-LargeRowColumn-FAQ

@SyncfusionBuild
Copy link
Contributor

Build Status: INPROGRESS 🔃
Build Location: 868249-LargeRowColumn-FAQ

@SyncfusionBuild
Copy link
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: 868249-LargeRowColumn-FAQ

@Mohan2401 Mohan2401 merged commit dddd989 into hotfix/hotfix-v24.2.3 Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants