Creating seperate excel based on dates

like following:
for each activity setting TypeArgument is set to DataTable

You will just adapt the logic of the sheet name e.g when using the Year we can do

item.Rows(0)(“Year”).toString.Trim