Well i was using IE, but it didn't work....
On Thu, Dec 6, 2012 at 5:20 PM, whatever <[email protected]> wrote: > Hi! > ActiveXObject only works in Internet Explorer, if I'm not mistaken. > But if you do get it to work (even if just in IE), I'm sure plenty > people would be interested in seeing how you pulled it off. > > w > > On 6 dec., 16:31, Kim Skatun <[email protected]> wrote: > > I am trying to get my tiddlywiki to talk to excel, i pasted this code > into > > a tiddler, but only the first msgBox shows up... > > > > <html> > > > > <head> > > <script> > > window.onClickAction = function myFunction() > > { > > alert('Hello from JavaScript!') > > var exApp = new ActiveXObject("Excel.Application"); > > > > exApp.Workbooks.Open("c:\\Test.xlsx"); > > > > exApp.Visible = true; > > exApp.UserControl = true; > > exApp.Range("A2").Select() > > exApp.ActiveCell= "hello world" > > > > alert('Hello from JavaScript!')} > > > > </script> > > </head> > > > > <form name=myform> > > <input type=button value="Try it now" > > onClick="onClickAction()"> > > </form> > > > > </html> > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/tiddlywiki?hl=en. > > -- Kindly regards Kim Skåtun +47 950 53 328 [email protected] 5643 Strandvik Norway -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

