Hello World Office Scripts Example
async function main(context: Excel.RequestContext) { | |
// Set range A1 on selectedSheet | |
let workbook = context.workbook; | |
let worksheets = workbook.worksheets; | |
let selectedSheet = worksheets.getActiveWorksheet(); | |
selectedSheet.getRange("A1").values = [ | |
["Hello World"] | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment