Pinned Loading
-
Find distance and driving time betwe...
Find distance and driving time between locations stored in google spreadsheet by using Distance Matrix API 1function onOpen() {//adds new menu item to active spreadsheet
2var sheet = SpreadsheetApp.getActiveSpreadsheet();
3var entries = [
4{name : "Calculate distance", functionName : "findDistance"},
5{name : "Clear distance", functionName : "clearIDs"}];
-
Copy google spreadsheet with all pro...
Copy google spreadsheet with all protected ranges permissions 1function Main() {
2var template = DriveApp.getFileById('YOUR_SPREADSHEET_ID'); //template spreadsheet
3var destination = DriveApp.getFolderById('COPY_DESTINATION_FOLDER_ID'); //the directory to copy the file into
4var curDate = Utilities.formatDate(new Date(), Session.getScriptTimeZone(), "yyyy-MM-dd");
5var copyName = template.getName() + ' copy ' + curDate; //the filename that should be applied to the new copy (e.g. "My spreadsheet copy 2019-08-24")
-
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.