var WordApp=new ActiveXObject("Word.Application");
WordApp.Application.Visible=false;
var Doc=WordApp.Documents.Open("Word.doc");
Doc.Activate();        
var Range=doc.Range();
         //未测试 
var Find=Range.Find();
         Find.Excute('XID','123');
         // 
WordApp.DisplayAlerts=false;
Doc.Close();
WordApp.DisplayAlerts=true;
WordApp.Quit();