Skip to content

Instantly share code, notes, and snippets.

@javascript-uk
javascript-uk / Write to cells.EXCEL.yaml
Created October 27, 2021 20:50
Create a new snippet from a blank template.
name: Write to cells
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
(async () => {
Excel.run(async (context) => {
var sheet = context.workbook.worksheets.getActiveWorksheet();
//var range = sheet.getRange("A1:A5")
@javascript-uk
javascript-uk / Blank snippet (2).EXCEL.yaml
Last active October 24, 2021 23:34
Create a new snippet from a blank template.
name: Blank snippet (2)
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
let xhttp = new XMLHttpRequest();
@javascript-uk
javascript-uk / Blank snippet (1).EXCEL.yaml
Last active October 27, 2021 19:52
Create a new snippet from a blank template.
name: Blank snippet (1)
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
(async () => {
Excel.run(async (context) => {
var sheet = context.workbook.worksheets.getActiveWorksheet();
//var range = sheet.getRange("A1:A5")