Export data to excel file