Forum Discussion
HKosova
Alumni
9 years agoHi Frank,
If you use JavaScript (not JScript), you need to use .Item to access collection items in COM objects.
var xlsheet = excel.ActiveWorkBook.WorkSheets.Item(sheetname);
Hi Frank,
If you use JavaScript (not JScript), you need to use .Item to access collection items in COM objects.
var xlsheet = excel.ActiveWorkBook.WorkSheets.Item(sheetname);