This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| coordinates = [ | |
| [(1,5), (6,12), (45,47)], | |
| [(6,8), (14,16), (45,47)], | |
| [(6,8), (14,16), (26,28), (30,32), (35,38), (39,42), (45,47), (50,52), (55,59)], | |
| [(6,8), (14,16), (17,19), (24,26), (30,32), (36,38), (41,43), (45,47), (49,51), (54,56)], | |
| [(6,8), (14,16), (19,21), (23,25), (30,32), (36,38), (41,43), (45,49), (56,59)], | |
| [(6,8), (14,16), (19,21), (24,26), (30,32), (36,38), (41,43), (45,47), (49,51), (58,60)], | |
| [(6,8), (14,16), (19,21), (25,29), (30,33), (35,38), (41,43), (45,47), (50,52), (54,56), (58, 60)] | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Very Hide and Delete | |
| description: Performs a basic Excel API call using TypeScript. | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#VeryHide").click(() => tryCatch(run)); | |
| $("#DelVeryHide").click(() => tryCatch(delIt)); | |
| $("#CopyVeryHide").click(() => tryCatch(CopyIt)); | |
| $("#UnhideAll").click(() => tryCatch(unhide)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Blank snippet (1) | |
| 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) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Blank snippet (1) | |
| description: Create a new snippet from a blank template. | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: | | |
| Office.initialize = function() { | |
| const testKey = "test-pear-deck"; | |
| Office.context.document.settings.refreshAsync(function (asyncResult) { | |
| if (asyncResult.status == Office.AsyncResultStatus.Failed) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Settings.Load | |
| description: Load Settings. | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| async function run() { | |
| await Excel.run(async (context) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Blank snippet (1) | |
| description: Create a new snippet from a blank template. | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| $("#readOnly").click(() => tryCatch(readOnly)); | |
| async function run() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Blank snippet (2) | |
| description: Create a new snippet from a blank template. | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| var shapes = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Blank snippet (2) | |
| description: Create a new snippet from a blank template. | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| var shapes = { | |
| initializeByWorksheet: async function(context, worksheetId) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SettingAcrossSync | |
| 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) => { |
OlderNewer