kkw
12-01-2008, 03:05 AM
Hi all,
I would like to run an excel module from Javascript, the following is the codes I'm using to open an excel file, the next thing i want to do is to execute a pre-defined excel module (sub), what should I do?
var exc = new ActiveXObject("Excel.Application");
exc.visible = true;
exc.workbooks.open("abc.xls");
exc.ActiveSheet.Range('A1').value = 123;
'execute/run an excel module here, e.g. SelectRow()
Many thanks!!
I would like to run an excel module from Javascript, the following is the codes I'm using to open an excel file, the next thing i want to do is to execute a pre-defined excel module (sub), what should I do?
var exc = new ActiveXObject("Excel.Application");
exc.visible = true;
exc.workbooks.open("abc.xls");
exc.ActiveSheet.Range('A1').value = 123;
'execute/run an excel module here, e.g. SelectRow()
Many thanks!!