Skip to content

Instantly share code, notes, and snippets.

View hossainahmedkhan's full-sized avatar

hossainahmedkhan.leon hossainahmedkhan

View GitHub Profile
var sheetName = 'Sheet1'
var scriptProp = PropertiesService.getScriptProperties()
function intialSetup () {
var activeSpreadsheet = SpreadsheetApp.getActiveSpreadsheet()
scriptProp.setProperty('key', activeSpreadsheet.getId())
}
function doPost (e) {
var lock = LockService.getScriptLock()