Output Outlook Calendar Data information into csv

Hi, I am having the above issue, where I am unable to parse the data taken from outlook calendar events into a data table. Can anyone help?

You don’t write the CSV inside the loop. Inside the loop you add the data to a datatable (Add Data Row) and then after the loop you use Write CSV and pass it the datatable.