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
233 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
This is written from a 'VBA for MS Word' perspective, but I am sure it applies to most other MS Office components where VBA is used.  One thing that really bugs me is slow code, ESPECIALLY when it's mine!  In programming there are so many ways to…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now