Log Values to Excel Every Day

The function dataSetToExcel is only going to add a new workbook. This function will not add a new row to an existing spreadsheet.

The suggestion Colby made would be the route you should go in. Use a transaction group to get the data into the database and then use the database to export the data to your spreadsheet.