@BendegzHegedus you could try and adapt this example of how to create an Excel file with a complex header