Generate and download excel with 2 datashhet

Hi, 2 excel files are generated in the backend, but 1 excel file with 2 datasheets is needed, I was thinking that there would be a solution to merge 2 excels into 1, or maybe directly to generate 2 datasheets in one excel. Does anyone have any idea how this would be possible?