How to write web table data to multiple excel sheets based on ID

DatatableToMultipleExcelWorksheet.zip (11.1 KB)

try this

I have a dummy datatabale that contains 3 rows in it and then I applied the foreach loop to the dt and get the securityid, followed by writing this in the excel