I'm trying to find out how to get data from a single row in a spreadsheet using Google Apps Script.
I've managed to get data from a single column in a spreadsheet using Google Apps Script but when I adjust the range for a single row with multiple columns it comes back different.
Basically I think it is coming to me as a comma-separated list but I need it to be in an array-like what I'm getting when I use the code below.
Here is the code I am using to get data from a single column
var temp = activeSheet.getRange("A1:A6").getValues();