Hi,
Using Macro/VBA scripts to generate an automated report in Excel is more complex than what's typically handled in this forum. It would be best if you could post your this on Excel IT Pro category of TechNet forums for assistance from IT professionals who specialize in Excel.
Regards.