For the past few months I’ve been working on an online tool that basically pulls a ton of information and then keeps that information stored in variables client side. The next step in the tool is to allow for that data which is in variables client side to be exported into a customized excel spreadsheet.
I’ve done a lot of research on doing this and it appears the approach to take is through ActiveX controls in Javascript.
However the simple code segment:
[CODE]
function createSheet()
{//BEGIN createSheet
var xls;
xls = new ActiveXObject(“Excel.Application”);
xls.Visible = true;
}//END createSheet
Throws an ActiveXObject is not defined error. Why is it a problem creating an excel application? Any ideas?
Thanks!