This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function shortenUrl() { | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
var sheet = ss.getSheets()[0]; | |
var longUrls = sheet.getRange("J3:J10").getValues(); | |
var writeValues = [] | |
for (var i =1 ; i <= numRows; i++) { | |
var row = [] | |
var numRows = longUrls.getNumRows(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function shortenUrl() { | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
var sheet = ss.getSheets()[0]; | |
var longUrls = sheet.getRange("J3:J10").getValues(); | |
var writeValues = [] | |
var numRows = longUrls.getNumRows(); | |
var numCols = longUrls.getNumColumns(); | |
for (var i =1 ; i <= numRows; i++) { |