Skip to content

Instantly share code, notes, and snippets.

@ExcelNovatos
ExcelNovatos / ArrayObjetosPrueba.EXCEL.yaml
Created November 11, 2023 01:41
Create a new snippet from a blank template.
name: ArrayObjetosPrueba
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: >
$("#principal").click(() => tryCatch(principal));
async function principal() {
name: 'Función AverageIfs - Promedio.Si.Conjunto - Excel JavaScript API '
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) => {
const hoja = context.workbook.worksheets.getItem("Hoja1");
name: 'Función AverageIf - Promedio.Si - Excel JavaScript API '
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) => {
const hoja = context.workbook.worksheets.getItem("Hoja1");
name: 'Función Average - Promedio - Excel JavaScript API '
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) => {
@ExcelNovatos
ExcelNovatos / Bucle Do-While - Excel JavaScript API .EXCEL.yaml
Created June 22, 2023 09:40
Create a new snippet from a blank template.
name: 'Bucle Do-While - Excel JavaScript API '
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) => {
@ExcelNovatos
ExcelNovatos / Bucle While - Excel JavaScript API .EXCEL.yaml
Created June 19, 2023 02:34
Create a new snippet from a blank template.
name: 'Bucle While - Excel JavaScript API '
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
const lote = 200;
@ExcelNovatos
ExcelNovatos / Bucle For - Excel JavaScript API .EXCEL.yaml
Created June 15, 2023 02:27
Create a new snippet from a blank template.
name: 'Bucle For - Excel JavaScript API '
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
// El tamaño de lote, es decir, la cantidad de filas que se procesarán en cada iteración.
@ExcelNovatos
ExcelNovatos / Función ABS -Excel JavaScript API .EXCEL.yaml
Created June 9, 2023 20:13
Create a new snippet from a blank template.
name: 'Función ABS -Excel JavaScript API '
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) => {
const hoja_act = context.workbook.worksheets.getActiveWorksheet();
name: 'Función SumIfS - Sumar. Si . Conjunto – Excel JavaScript API '
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: 'Función SumIf - Sumar. Si – Excel JavaScript API '
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) => {