Save data to spreadsheet.