Extract excel data from columns

Good day all,

I have this flow where my bot downloads attachments from an email into a local folder then opens it. I want to extract data from the excel columns please help, so far I have used this:

image
image

@Anelisa_Bolosha1,

Read range activity will give you output as DataTable. And then use For Each Row in datatable activity to iterate that data one by one row. While iterating through rows you can get each rows column by this code.

currentRow.Item("Column Name").Tostring

Thanks,
Ashok :slightly_smiling_face:

Hi @ashokkarale thanks for your feedback, so the variable I will create for : currentRow.Item(“Column Name”).Tostring ,what is it’s type?

Like so?

@Anelisa_Bolosha1,

currentRow.Item(“Column Name”).Tostring this will return you string. So datatype of the variable should be string

1 Like

Hello

Take a look at this post for general datatable questions and answers.

Cheers

Steve

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