How do i export the data to an excel file