Export to Excel not working for large data set