如何检查从xl文件到两个word文档文件的特定单词... [英] how to check a specific word from xl file to two word document file's...

查看:92
本文介绍了如何检查从xl文件到两个word文档文件的特定单词...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,我需要你的帮助-

我有两个ms Word文档文件(2007年)另存为German.doc和English.doc,还有一个ms office Excel文件(2007年)另存为dictionary.xls.

我在dictionary.xls中创建了两列,在r1c1中创建了德语,在r1c2中创建了英语
现在,我在r2c1中写单词"LL",并在excel文件中写r2c2单词"MY". 现在我只想检查German.doc是否包含单词"LL",因此应在English.doc上写为"MY".

参考资料-

http://www.vbaexpress.com/forum/showthread.php?t=33093 [ ^ ]

http://www.vbaexpress.com/kb/getarticle.php?kb_id=553 [ ^ ]

请帮帮我.

谢谢&问候-
Mayank Shrivastava

hi friend''s I need your help-

i have two ms word document file (2007) save as German.doc and English.doc and one ms office excel file (2007) save as dictionary.xls.

I made two columns in dictionary.xls , German in r1c1 and English in r1c2
Now I write word "LL" in r2c1 and in r2c2 word "MY" in excel file.
now i just wanted to check if German.doc contains word "LL" so it should be write on English.doc as "MY".

References-

http://www.vbaexpress.com/forum/showthread.php?t=33093[^]

http://www.vbaexpress.com/kb/getarticle.php?kb_id=553[^]

Please help me out.

Thanks & Regards-
Mayank Shrivastava

推荐答案

使用 Excel Interop [ ^ ]或打开Excel文件中的数据() [
Use MS Word Interop[^] to open the Word file and read the text.
Either use Excel Interop[^] or open the Excel file a data ()[^] to access the dictionary and compare the text.


这篇关于如何检查从xl文件到两个word文档文件的特定单词...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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