71
rated 0 times
[
73]
[
2]
/ answers: 1 / hits: 56173
/ 11 Years ago, wed, march 6, 2013, 12:00:00
I have this code:
<html>
<script type=text/javascript>
function test() {
var Excel = new ActiveXObject(Excel.Application);
Excel.Workbook.Open(teste.xlsx);
}
</script>
<body>
<form name=form1>
<input type=button onClick=test(); value=Open File>
<br><br>
</form>
</body>
</html>
So the main problem is I keep getting this error:
On line 7 , Unable to get value of property Open
URL file:///C:/users/admin/desktop/test.hta
More From » excel