The code is not runnable. Attached screenshots and the code I have pasted with the highlighted function in the code.
There is only one function inside code that you will have to check for the error.
The report is displaying properly on screen but when we export to excel the format of the excel report is changing.
Attachment:- Assignment File.rar