Skip to content

Instantly share code, notes, and snippets.

@lemkorp
lemkorp / Basic API call (TypeScript).EXCEL.yaml
Created Aug 7, 2019
Performs a basic Excel API call using TypeScript.
View Basic API call (TypeScript).EXCEL.yaml
name: Basic API call (TypeScript)
description: Performs a basic Excel API call using TypeScript.
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
await Excel.run(async (context) => {
@lemkorp
lemkorp / Propriétés.EXCEL.yaml
Created Aug 2, 2019
Create a new snippet from a blank template.
View Propriétés.EXCEL.yaml
name: Propriétés
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#propdoc").click(() => tryCatch(propDoc));
$("#nomfeuilles").click(() => tryCatch(nomFeuilles));
$("#propcell").click(() => tryCatch(propCell));
$("#graphique").click(() => tryCatch(graphique));
@lemkorp
lemkorp / vlookup.EXCEL.yaml
Created Aug 1, 2019
Create a new snippet from a blank template.
View vlookup.EXCEL.yaml
name: vlookup
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
await Excel.run(async (context) => {
@lemkorp
lemkorp / tableau 3.EXCEL.yaml
Last active Aug 1, 2019
Create a new snippet from a blank template.
View tableau 3.EXCEL.yaml
name: tableau 3
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#creation").click(() => tryCatch(creation));
$("#filtre").click(() => tryCatch(filtre));
$("#stop").click(() => tryCatch(stopFiltre));
$("#trier").click(() => tryCatch(trier));
@lemkorp
lemkorp / feuilles.EXCEL.yaml
Last active Aug 1, 2019
Create a new snippet from a blank template.
View feuilles.EXCEL.yaml
name: feuilles
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#ajouter").click(() => tryCatch(ajouter));
$("#copier").click(() => tryCatch(copier));
$("#supprimer").click(() => tryCatch(supprimer));
$("#visibilite").click(() => tryCatch(changerVisibilite));
@lemkorp
lemkorp / tableau 2.EXCEL.yaml
Last active Aug 1, 2019
Create a new snippet from a blank template.
View tableau 2.EXCEL.yaml
name: tableau 2
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#ajout").click(() => tryCatch(ajoutJSON));
async function ajoutJSON() {
await Excel.run(async function(context) {
@lemkorp
lemkorp / tableau 1.EXCEL.yaml
Last active Jul 31, 2019
Create a new snippet from a blank template.
View tableau 1.EXCEL.yaml
name: tableau 1
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#creation").click(() => tryCatch(creation));
$("#ajout").click(() => tryCatch(ajoutDonnees));
$("#somme").click(() => tryCatch(somme));
@lemkorp
lemkorp / plage 4.EXCEL.yaml
Last active Jul 31, 2019
Create a new snippet from a blank template.
View plage 4.EXCEL.yaml
name: plage 4
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
await Excel.run(async function (context) {
@lemkorp
lemkorp / plage 3.EXCEL.yaml
Created Jul 31, 2019
Create a new snippet from a blank template.
View plage 3.EXCEL.yaml
name: plage 3
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
await Excel.run(async function (context) {
@lemkorp
lemkorp / plage 2.EXCEL.yaml
Created Jul 31, 2019
Create a new snippet from a blank template.
View plage 2.EXCEL.yaml
name: plage 2
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
await Excel.run(async function (context) {