Hi, Firstly, thanks for the excellent post. I am trying this approach to group data by month part of a date created column. But when i export it to excel, I see only one row per sheet even though I have 50 rows per month in database. I wanted to generate an excel sheet once a user clicks on a button. Basically i want to do exactly what is dicussed here.