还是word问题 WordApplication1.Documents.Item(1).Paragraphs.Add ;-〉 WordApplication1.Documents.Item(a).Paragraphs.Add (a); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 a是什么变量怎么定义的?再次说明我的本意:在打开的1.doc增加个一个段落,把2.doc追加到它的后面,但增加段落时总出错,请问上面的程序怎么改? “WordApplication1.”Documents.Item(1).Paragraphs.Add 应该是WordDocument1 Item是属性还是函数,如果是属性就要用[] 不好意思我错了,Item是方法不是属性。 WordDocument.Paragraphs.Last.Range.InsertFile('Filename',EmptyParam,EmptyParam,EmptyParam,EmptyParam);要不行,我倒,让你踩着过。 num:=WordDocument1.paragraphs.Count+1; WordApplication1.Documents.Item(1).Paragraphs.Add ; //这条语句为什么总是不能通过?? s:=WordDocument1.paragraphs.Item(num).range.start; d:=WordDocument1.paragraphs.Item(num).range.end_; a := 'd:\2.doc'; WordDocument1.Range(s,d).InsertFile(a,EmptyParam,EmptyParam,EmptyParam,EmptyParam);都不要了 FastReport可以把中间Master data的行数固定吗? 祝贺9总加薪,特为此祝贺 参数类型错误问题 如何实现本地软件如何实现远程自动更新. 谁有树型下拉控件,带拼音搜索功能的. 如何在STRINGGRID里排序 请问怎样锁定键盘和鼠标的操作? 我使用ADOQuery对表进行了更新.然后马上用另外一个ADOQuery对这个表进行查询.结果查询不出更新后的数据.??.急急! 求助 请问在一个窗体上怎样显示背景图片! 高手们,怎样得到并编辑表中的字段?急急急 标准Lable怎么换行??
在打开的1.doc增加个一个段落,把2.doc追加到它的后面,但增加段落时总出错,请问上面的程序怎么改?
要不行,我倒,让你踩着过。
WordApplication1.Documents.Item(1).Paragraphs.Add ; //这条语句为什么总是不能通过??
s:=WordDocument1.paragraphs.Item(num).range.start;
d:=WordDocument1.paragraphs.Item(num).range.end_;
a := 'd:\2.doc';
WordDocument1.Range(s,d).InsertFile(a,EmptyParam,EmptyParam,EmptyParam,EmptyParam);
都不要了