We have a daily and monthly tracker for my work and I am trying to add the data column from the daily tracker to the same column in the monthly tracker.
This is my code below it currently spits out the error "The parameters (String) don't match the method signature for SpreadsheetApp.Range.setValues." which I assume is because it sees both paste and source as strings instead of numbers, I've spent a few hours reading through google however I'm fairly new to JS so having trouble trying to decipher some of the solutions online.
var ss = SpreadsheetApp.getActiveSpreadsheet();
var copySheet = ss.getSheetByName("Daily");
var pasteSheet = ss.getSheetByName("Monthly");
var paste = pasteSheet.getRange(3, 2 , 10);
// get source range
var source = copySheet.getRange(3, 2 , 10).getValues();
// set destination range
var paste = paste.setValues(source + paste);
Tried to add data from a column on one sheet to a column on a serperate sheet.