How to write to single excel with different sheets


If we have 5 different files as input in document understanding, 2 are of same format(pdf). rest are like receipts, invoices etc… how can I extract data from that and write in to single excel sheet by sheet? if files are of same format it has to write it to same sheet. how can i implement that?
Can anyone please help me to solve this issue.

Hi @Chippy_Kolot, just trying to understand. Are you planning to write data from receipts to sheet ‘Receipts’, invoices to sheet ‘Invoices’, etc. to the same excel file? If so, by the time you want to write data to excel, do you know which type of document you’ve just processed?