Write Huge data from Datatable to Excel File

Description

Hi There,
I have a huge data around 7 lakhs in the data table and i want to write into an excel file.
I am using excel process and write range, however getting the following error - Write DataTable to Excel: Exception from HRESULT: 0x800A03EC.
Can you please suggest how to proceed further to get this resolved.

Thanks

Link

https://cloud.uipath.com

Date

2024-12-06

Related UiPath products

Studio

@avinashy

try writing in chunks inside a loop

or try with excel workbook activiites

dt.AsEnumerable.chunks(100000) will give you 1 lakh rows each time and in loop you can write and append to excel

cheers

Hi @avinashy

You can follow this method

Hope this helps :slight_smile: