skip to Main Content

Collect/transfer data from form/one google sheet to log/second google sheet – Javascript

const ss = SpreadsheetApp.getActiveSpreadsheet(); // collect data. const sourcerange = ss.getRangeByName("b94:h94"); const sourceVals = sourcerange.getValues(); // skip val, gather user email const email = Session.getActiveUser().getEmail(); const data = {email,sourceVals}; console.log(data); //append data const destinationsheet = ss.getSheetByName("test log"); destinationsheet.appendRow(data); edit: error…

VIEW QUESTION
Back To Top
Search