First of all, thanks for reading.
I am writing a script and want to access some Excel functions. I wrote the following codes in my script:
ExcelApp = new ActiveXObject("Excel.Application");
ExcelSheet = new ActiveXObject("Excel.Sheet");
ExcelWorkBook = new ActiveXObject("Excel.Workbook");
The "Application" and "Sheet" objects were created successfully. However, I was prompt that the "Workbook" object cannot be created.
Does anybody know why?
I am writing a script and want to access some Excel functions. I wrote the following codes in my script:
ExcelApp = new ActiveXObject("Excel.Application");
ExcelSheet = new ActiveXObject("Excel.Sheet");
ExcelWorkBook = new ActiveXObject("Excel.Workbook");
The "Application" and "Sheet" objects were created successfully. However, I was prompt that the "Workbook" object cannot be created.
Does anybody know why?