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>