Skip to content

Instantly share code, notes, and snippets.

@macabacus-hp
macabacus-hp / Clean Cells.EXCEL.yaml
Last active January 7, 2021 19:35
Create a new snippet from a blank template.
name: Clean Cells
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
function removeExtraneousSheetName(str, strSheet) {
return str;
@macabacus-hp
macabacus-hp / clearAllPrintAreas.EXCEL.yaml
Created December 16, 2020 21:50
Create a new snippet from a blank template.
name: clearAllPrintAreas
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) => {
name: Current Sheet
description: ''
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
await Excel.run(async (context) => {
name: Deleting Comments
description: ''
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
await Excel.run(async (context) => {
@macabacus-hp
macabacus-hp / Loading and Adding Comments.EXCEL.yaml
Last active April 9, 2020 17:16
Note: Adding Comments only works when adding the first comment.
name: Loading and Adding Comments
description: 'Note: Adding Comments only works when adding the first comment.'
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {