var excel = new ActiveXObject("Excel.Application");
var book = excel.Workbooks.open(
FileName="C:¥¥temp¥¥temp.xls",
UpdateLinks = false,
ReadOnly = true);
var e = new Enumerator(book.sheets);
for(e.moveFirst(); !e.End(); e.moveNext()) {
var sheet = e.item();
if(sheet.Name.match(/sheet名/) {
Wscript.Echo(sheet.Cells(0,1).Value);
}
}
book.close(false);
excel.Quit();