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 view this discussion on the web visit
https://groups.google.com/d/msg/tiddlywiki/-/8Bncys6dLgsJ.
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.