| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 684 人关注过本帖
标题:Delphi word替换方法参数不足求帮忙看下
只看楼主 加入收藏
uu03
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2013-2-18
结帖率:0
收藏
已结贴  问题点数:20 回复次数:1 
Delphi word替换方法参数不足求帮忙看下
var
  findtext, matchcase, matchwholeword, matchwildcards, matchsoundslike,
  matchallwordforms, forward, wrap, format, replacewith, replace: olevariant;
begin
  findtext := '<#name> ';
  matchcase := false;
  matchwholeword := true;
  matchwildcards := false;
  matchsoundslike := false;
  matchallwordforms := false;
  forward := true;
  wrap := wdfindcontinue;
  format := false;
  replacewith := 'delphi';
  replace := true;

  wrdcmnt1.range.find.Execute( findtext, matchcase, matchwholeword,
  matchwildcards, matchsoundslike, matchallwordforms, forward,
  wrap, format, replacewith, replace);
end;

wrdcmnt1是wordDocument的name
搜索更多相关主题的帖子: false wrap replace forward 
2013-02-27 10:23
wp231957
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:神界
等 级:贵宾
威 望:423
帖 子:13688
专家分:53332
注 册:2012-10-18
收藏
得分:20 
你想问啥

DO IT YOURSELF !
2013-02-27 10:25
快速回复:Delphi word替换方法参数不足求帮忙看下
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014071 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved