For Each Loop for data tabel

Want to write each element of datasetResult.Table to a work book in the path “workbookpath” but its showing up with an argument error with item in the list of items

welcome to the forum

check the properties of the for each activity and ensure that the typeargument is set to DataTable

Kindly note: the current modelling is writing within the the data to the same worksheet. So it will overwrite in current iteration the data from previous iteration.

Check what is needed and handle it e.g with append range or dynamized worksheet names

Got Fixed,
Thanks Peter

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