Question: how to extract data from datatable to excel in uipath?
Answer: Make sure you select the activity under the Excel and NOT the one under the Workbook. Drag and drop it inside Do. Enter the DataTable you just created (dtEmployee). If there is any data into the excel file, the Write Range will overwrite it starting from A1 (Starting Cell).