Skip to content

Instantly share code, notes, and snippets.

@cawise
cawise / Handling invalid bindings.EXCEL.yaml
Created October 25, 2019 19:38
This sample shows how it is difficult to check for and delete invalid bindings.
name: Handling invalid bindings
description: >-
This sample shows how it is difficult to check for and delete invalid
bindings.
host: EXCEL
api_set: {}
script:
content: |
$("#add-binding").click(() => tryCatch(addBinding));
$("#remove-cell").click(() => tryCatch(removeCell));
@cawise
cawise / getRange error.yaml
Created May 11, 2018 18:46
"InvalidArgument" error calling getRange() - Shared with Script Lab
name: getRange error
description: '"InvalidArgument" error calling getRange()'
author: cawise
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
@cawise
cawise / getRange error.yaml
Created May 11, 2018 18:45
"InvalidArgument" error calling getRange() - Shared with Script Lab
name: getRange error
description: '"InvalidArgument" error calling getRange()'
author: cawise
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {