Skip to content

Instantly share code, notes, and snippets.

View chenxizhang's full-sized avatar
🎯
Focusing

Ares Chen chenxizhang

🎯
Focusing
View GitHub Profile
@chenxizhang
chenxizhang / 引用外部模块.EXCEL.yaml
Created September 7, 2022 01:26
本例演示了如何引用外部的npm模块来简化编程
name: 引用外部模块
description: 本例演示了如何引用外部的npm模块来简化编程
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
await Excel.run(async (context) => {
@chenxizhang
chenxizhang / 读取远程图片并插入文档.EXCEL.yaml
Last active September 6, 2022 00:57
读取网络图片,并且解析,然后写到工作表中
name: 读取远程图片并插入文档
description: 读取网络图片,并且解析,然后写到工作表中
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
await Excel.run(async (context) => {
@chenxizhang
chenxizhang / 选择图片并插入文档.EXCEL.yaml
Created September 5, 2022 13:02
Create a new snippet from a blank template.
name: 选择图片并插入文档
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) => {
@chenxizhang
chenxizhang / 发送电子邮件.EXCEL.yaml
Created September 4, 2022 12:53
Create a new snippet from a blank template.
name: 发送电子邮件
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) => {
@chenxizhang
chenxizhang / 发送电子邮件.EXCEL.yaml
Created September 4, 2022 12:31
Create a new snippet from a blank template.
name: 发送电子邮件
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) => {
@chenxizhang
chenxizhang / 生成透视图.EXCEL.yaml
Created September 4, 2022 09:37
Create a new snippet from a blank template.
name: 生成透视图
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) => {
@chenxizhang
chenxizhang / 生成透视表.EXCEL.yaml
Created September 4, 2022 09:32
Create a new snippet from a blank template.
name: 生成透视表
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) => {
@chenxizhang
chenxizhang / 读取订单列表.EXCEL.yaml
Created September 4, 2022 09:27
Create a new snippet from a blank template.
name: 读取订单列表
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) => {
@chenxizhang
chenxizhang / 读取文档基本信息.EXCEL.yaml
Created September 4, 2022 09:19
Create a new snippet from a blank template.
name: 读取文档基本信息
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) => {
@chenxizhang
chenxizhang / Use add-in settings.OUTLOOK.yaml
Created October 21, 2021 05:29
Gets, sets, and saves add-in roaming settings
name: Use add-in settings
description: 'Gets, sets, and saves add-in roaming settings'
host: OUTLOOK
api_set: {}
script:
content: |
$("#get").click(get);
$("#set").click(set);
$("#save").click(save);