CreateObject in Jscript

Wednesday, March 2, 2005 by Dryheat | Discussion: DesktopX

How do you create an object in Jscript. I have done this in vbscript, but the createobject function does not exist for jscript.
GlebOBurov
Reply #1 Monday, October 15, 2007 3:38 PM
Try this:
Code: javascript
  1. var ExcelSheet;
  2. ExcelSheet = new ActiveXObject("Excel.Sheet");

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01