a For each row you can loop through the datatable and replace the value in column URL using an Assign activity like this:
Want to learn UIpath from scratch! Have a look at this video on UIpath provided by Intellipaat:
Next, use Excel application scope again. Look for the activity Write range (System > File > Workbook > Write range) and enter the datatable. I recommend you to check Add headers.
This will add the datatable to the Excel file selected.