Solved

how to loop through all the words in a document query a database to see if word or phrase exist in database

Posted on 2013-06-30
7
243 Views
Last Modified: 2014-01-11
How can I loop through all the words in a microsoFt WORD DOC AND CHECK IF THAT WORD OR A PHRASE EXISTS IN an excel database and then either replace the word with another from the database or insert a particular picture whose [ath is in the database
0
Comment
Question by:Dov_B
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 35

Accepted Solution

by:
[ fanpages ] earned 500 total points
ID: 39288562
Hi,

As I queried in a remarkably similar question from 6 June 2013:

[ http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28149909.html#a39226799 ]

Would it be feasible/practical to copy'n'paste the text from the MS-Word document into a separate worksheet within the MS-Excel workbook so that the comparison can be performed in one application?

BFN,

fp.
0
 

Author Comment

by:Dov_B
ID: 39305882
not realy
0
 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 39305892
OK.

Can you clarify what you mean by "an excel database", please?
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

Author Comment

by:Dov_B
ID: 39305893
a list of words in a column sorry for calling it a database
0
 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 39305906
:)

How is a replacement word to be determined?

I presume there are actually two columns; one of a list of words, & another adjacent with a list of paths.

Perhaps the provision of a sample file would be useful.
0
 

Author Comment

by:Dov_B
ID: 39305909
I presume there are actually two columns; one of a list of words, & another adjacent with a list of paths.
Yes
0
 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 39527413
Abandoned thread?
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question