Compiler error(s) encountered processing expression (Add Data Row function)

Hello guys,
I’m trying to scrap some data (invoice number) from various invoices and to save them into the Excel file, however, when trying to do it via ‘Add Data Row’, I receive following error, saying: “Compiler error(s) encountered processing expression “(InvoiceNumber)”. Value of type ‘String’ cannot be converted to ‘System.Data.DataRow’.”
Could you please help me anyhow with that?Main.xaml (13.9 KB)
Thanks a lot!

You can place in add data row properties value for arrayrow:

{InvoiceNumber}

You need to also fill data table variable. If you don’t have create datatable with build data table activity.

After adding all invoices use write range activity to write that datatable to excel file.

Thanks a lot, Yameso! Problem fixed!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.