Convert string (URL) to datatable

Hi,

How do I convert string from browser to data table that can be transfer into excel? I’ve tried to use write range activity but it keeps on writing on the same cell. My problem is that, I extract URL from web browser then whenever i want to write in the excel file, the extracted data overwrite on the same cell without moving to the row below.

Please share the code…

Hello,

Use data scraping. it generates datatable.

Thanks,
Pankaj

what code?

I want to scrape this webpage url. if i use data scraping, I could only scrape the picture url but not the webpage url. So, i use ‘get attribute’ activity. I managed to scrape it but whenever I want to put it in the Excel, the last data will overwrite the first data(url).

Thanks.

Hello,

oh, i see
no really time to make an example :frowning:
Please go through the below link

Thanks,
Pankaj

Thanks for the help Pankaj.

Refer the below work flow.
excelRead.xaml (9.0 KB)

Thanks.

Thank you uthraa

I’ve found the solution which is I need to make 2 different “Excel Application Scope” activities, one for Write Range and another one is for Append Range. Use the same steps: For Each Row, Open Browser, Type Into, Get Attribute(URL), Build Data Table, Add Data Row, For Each Row(Write Range or Append Range).

1 Like

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