首先在word中設置書簽
var word;
word = new ActiveXObject(
var range = word
word
var path =
word
range = word
range
<script language=javascript>
function saveword(){
var oWordApp=new ActiveXObject(
var oDocument=oWordApp
oDocument
oWordApp
}
</script>
</HEAD>
<BODY>
Click the
<input type=button onclick=
</BODY>
</HTML>
From:http://tw.wingwit.com/Article/program/Java/Javascript/201311/25418.html