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: insert_field_formatting | |
| description: Create a new snippet from a blank template. | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| $("#run2").click(() => tryCatch(run2)); | |
| $("#run3").click(() => tryCatch(run3)); | 
  
    
      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: AddingListingContentControls | |
| description: '' | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| $("#run2").click(() => tryCatch(listCC)); | |
| 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: FieldsTest | |
| description: Performs a basic Word API call using TypeScript. | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| async function run() { | |
| await Word.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: DataValidationIssue | |
| description: Performs a basic Excel API call using TypeScript. | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| $("#run2").click(() => tryCatch(run2)); | |
| 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: Basic API call (TypeScript) | |
| description: Performs a basic Excel API call using TypeScript. | |
| 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: AutoAdjustIssue | |
| description: Performs a basic Excel API call using TypeScript. | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: > | |
| $("#run").click(() => tryCatch(run)); | |
| const base64Content = | |
| `UEsDBBQACAgIAAAAIQAAAAAAAAAAAAAAAAAPAAkAeGwvd29ya2Jvb2sueG1sVVQFAAEAps4SjVNdb9swDPwrmhCgT40tJ3HnLE6xde0aoNiKoWsfA0WmYiH6MCSlSf79aHtpU3QPfTJPFI9Hnjy73BtNnsEH5WxJ2TClBKxwlbLrkv55uDn/TEmI3FZcOwslPUCgl/PZzvnNyrkNwXIbSlrH2EyTJIgaDA9D14DFjHTe8IjQr5PQeOBVqAGi0UmWpnliuLK0Z5j6j3A4KZWA705sDdjYk3jQPKL4UKsmHNmM+Aid4X6zbc6FMw1SrJRW8dCRUmLEdLG2zvOVxqH3bHJkxvAdtVHCu+BkHCJV0ot8Ny9LE8b6keczqTQ89ksnvGl+ctN20ZRoHuJ1pSJUJR0jdDt4c+C3zbet0pgtRmlGSfJqxb1vUWvKo4JdeE20kOyflK3crqTZGC0+HBHLEO261JOqYo1PYFy0N/qzW1DrOmKzLMMNcBHVMzzwVUnxBjZLTrp1zmLX7ktsNxFe1UCcJFfORnQM/enSC9TPKPFThYFfVKOO7bTyNzTOx7svN86DwJ08h3vN8bG8lOPsL+W4qFbMUUEFUlmo2qWinhP0T9WPNL/IGROTZX4h5XI84mxZ5Hm+nFSTQmQFrNKJpPOz/2s4+zT4Oiimg+sBG8+SE3ZU8Laz4FqgKXKr9RWGv+yd4/3grdrjHzT/C1BLBwgdDNjL5wEAAIMDAABQSwMEFAAICAgAAAAhAAAAAAAAAAAAAAAAABMACQB4bC90aGVtZS90aGVtZTEueG1sVVQFAAEAps4S | 
  
    
      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: Content control manual delete | |
| description: Create a new snippet from a blank template. | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| async function run() { | |
| // Gets the current selection and changes the font color to red. | 
  
    
      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: Content controls | |
| description: To test content controls | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| async function run() { | |
| await Word.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: Content controls | |
| description: To test content controls | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| async function run() { | |
| await Word.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: Insert content control | |
| description: Create a new snippet from a blank template. | |
| host: WORD | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| async function run() { | |
| // Gets the current selection and changes the font color to red. | 
NewerOlder