Skip to content

Instantly share code, notes, and snippets.

View akrantz's full-sized avatar

Adam Krantz akrantz

View GitHub Profile
name: functions - return type (TypeScript)
description: ''
host: EXCEL
api_set: {}
script:
content: |
/**
* @customfunction
*/
function returnsBoolean(): boolean {
name: functions - return type (implicit)
description: ''
host: EXCEL
api_set: {}
script:
content: |
/**
* @customfunction
*/
function returnsBoolean() {
name: cancelable function
description: ''
host: EXCEL
api_set: {}
script:
content: |-
/**
* An example of a cancelable function
* @customfunction
*/
@akrantz
akrantz / Daedalus.yaml
Last active January 26, 2018 01:55
Shared with Script Lab
name: Daedalus
description: ''
author: akrantz
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(main));
const BatchFunction = function (workbook: Excel.Workbook): Promise<any> { return Promise.resolve() };