求给力!
各位大侠们 如何利用 js 将一个完整的html页面导入到word.页面中有图片 并且不只一个表格。求高手帮助;
像下面这样的代码没用function AllAreaWord()
{
var oWD = new ActiveXObject("Word.Application");
var oDC = oWD.Documents.Add("",0,1);
var oRange =oDC.Range(0,1);
var sel = document.body.createTextRange();
sel.moveToElementText(PrintA);
sel.select();
sel.execCommand("Copy");
oRange.Paste();
oWD.Application.Visible = true;
//window.close();
}