调用excel
如何通过javascript把本机的excel打开?
<script>
function startExcel()
{
var myApp = new ActiveXObject( "Excel.Application ");
if (myApp != null)
{
myApp.Visible = true;
myApp.Workbooks.Open();
}
}
</script>
这段语句有什么问题?
我已经成功了,你差了这句话
xls.Visible = true;