Thanks for using Aspose.Cells.
Please create your excel file with desired header with border lines and frame etc manually using Microsoft Excel and post it here for our investigation. We will look into it and provide you a sample code to achieve the same thing via Aspose.Cells. Thanks for your cooperation.
Thanks for considering Aspose.Cells.
We have checked your requested feature in Microsoft Excel and found that Microsoft Excel does not support it. You cannot add borders around the header or footer. However, you can set its font, color, boldness etc.
So if some feature is not supported by Microsoft Excel, it will automatically be not supported by Aspose.Cells. Thanks for your understanding.
Thanks for your quick reply.