在doc文件中搜索单词 [英] Word (s) search in doc files

查看:145
本文介绍了在doc文件中搜索单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我的机器上安装了MS Office XP.我有一些.doc文件(在其他平台上生成),需要搜索它们的字符串模式,例如"court case verdict"等.如果出现serach词,我也需要突出显示它们.即,应突出显示在每个abc.doc文件中找到的每个此类字符串模式.我是否需要编写宏或某种特殊的代码来实现此功能?

请帮帮我...

问候
Amitabh

Hello all,

I have MS Office XP installed on my machine. I have some .doc files (generated on other platforms) and need to search them for string patterns like "court case verdict" etc. If the serach words are present, I need to highlighted them as well. I.e., each such string pattern found in every abc.doc file should be highlighted. Do I need to write a macro or some special kind of code to achieve this functionality?

Please help me out...

Regards
Amitabh

推荐答案

我认为,访问以下网站应该可以为您提供所需的基础知识:http://blogs.technet.com/heyscriptingguy/archive/2006/03/21/如何在Microsoft Word文档document.aspx中搜索和突出显示单词:)
I believe a look at the following website should give you the basis for everything you need: http://blogs.technet.com/heyscriptingguy/archive/2006/03/21/how-can-i-search-for-and-highlight-words-in-a-microsoft-word-document.aspx :)


这篇关于在doc文件中搜索单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆