Skip to content

Instantly share code, notes, and snippets.

@kinuasa
Last active July 10, 2020 05:16
Show Gist options
  • Save kinuasa/5b6b1e6411e62bf940533fd54d5a6c06 to your computer and use it in GitHub Desktop.
Save kinuasa/5b6b1e6411e62bf940533fd54d5a6c06 to your computer and use it in GitHub Desktop.
Office Scripts
//n番目のシートを取得
function main(workbook: ExcelScript.Workbook) {
let sheet = workbook.getWorksheets()[1]; //2番目のシートを取得
sheet.getRange("B2").select(); //セルB2を選択
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment