build datatable have some column with the vakues, i want to insert data in excel
use Write Range Acitivty, you need to pass the file name and datatable name in it.
Use AddDatarow activity and pass values a ArrayRow or DataRow.
You can use add data column Activity in UiPath. To add a column in existing dataTable.
You need to add Colname, DataTable and Default value
if their is multiple column ,which is coming from build datatable
use Write Range activity