关于对Word文档操作的简单问题,送分! 怎么没有人回应啊,是不是分给少了,可以加的! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 var Word:Variant; activerow: integer;begin Word:=CreateOLeObject('Word.application'); word.documents.add(Template:='f:\mynew.ttk.dot'); word.selection.endkey; newword.activedocument.Paragraphs.add; activerow:=newword.activedocument.Paragraphs.count; newword.activedocument.paragraphs.item(activerow).range.text:='哈哈,加进去了。';//这里加入end;//其中f:\mynew.ttk.dot是一个模板 地产跌到麻木了,散分 dll的生成 我用的是fastreport3.0,在设计精确打印的时候发现,fastreport3.0里的尺寸和现实中的不一样,我该怎么做? 如何将 类型 作为参数传递?能实现不? 怎么样让一个Timage控件以一端为轴心转动?急 简单的问题,请问在程序中怎样编写代码来设置某个目录为IIS的默认目录? 买了张盘,可是没有序列号!!有吗?谢谢 数据导入问题 oracle字符串带小括号问题 关于ado的使用 有关表单自动增长的问题,求助 请问如何用Delphi做这样的窗口?
Word:Variant;
activerow: integer;
begin
Word:=CreateOLeObject('Word.application');
word.documents.add(Template:='f:\mynew.ttk.dot');
word.selection.endkey;
newword.activedocument.Paragraphs.add;
activerow:=newword.activedocument.Paragraphs.count;
newword.activedocument.paragraphs.item(activerow).range.text:='哈哈,加进去了。';//这里加入
end;
//其中f:\mynew.ttk.dot是一个模板