Skip to content

Instantly share code, notes, and snippets.

Created April 3, 2020 01:49
What would you like to do?
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