Created
August 17, 2020 01:08
-
-
Save iaindooley/731f770a0f3740c5b0e2fbb76769bd2d to your computer and use it in GitHub Desktop.
Import rows to cards
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 importRowsToCards() | |
{ | |
var values = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Invoices").getDataRange().getValues(); | |
var target = Board.findOrCreate("Weekly Invoices").findOrCreateList("Invoices This Week"); | |
for(var i = 0;i < values.length;i++) | |
{ | |
Card.create(target,values[i][0]+" Staff Member 1","top"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment