Enable the worksheet activation on the screen

Enable the worksheet activation on the screen
This commit is contained in:
Namhyeon Go 2025-08-05 17:33:43 +09:00 committed by GitHub
parent 6e89bda453
commit 0ab35aab7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,6 +72,10 @@ function Excel() {
} else { } else {
this.currentWorksheet = this.currentWorkbook.Worksheets(idx); this.currentWorksheet = this.currentWorkbook.Worksheets(idx);
} }
// switch to the worksheet
this.currentWorksheet.Activate();
return this; return this;
}; };
@ -223,7 +227,7 @@ exports.Excel = Excel;
exports.PowerPoint = PowerPoint; exports.PowerPoint = PowerPoint;
exports.Word = Word; exports.Word = Word;
exports.VERSIONINFO = "Microsoft Office interface (msoffice.js) version 0.2.0"; exports.VERSIONINFO = "Microsoft Office interface (msoffice.js) version 0.2.1";
exports.AUTHOR = "gnh1201@catswords.re.kr"; exports.AUTHOR = "gnh1201@catswords.re.kr";
exports.global = global; exports.global = global;
exports.require = global.require; exports.require = global.require;