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.

Reply via email to