Exports the grid, table or data to excel sheet