1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ブック内のシートの選択セルをA1セルに統一

Posted at

VBAやVBScriptでよく書かれてる奴をOfficeスクリプトで。

function main(workbook: ExcelScript.Workbook) {
  let sheets = workbook.getWorksheets();
  for (let i = 0; i < sheets.length; i++) {
      let sheet = sheets[i];
      sheet.activate();
      sheet.getRange("A1").select();
  }
}
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?