Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-16-2019, 09:53 AM
cancerresearcher cancerresearcher is offline Macro in Word to find specific words? Will be used for good cause (prostate cancer research) Mac OS X Macro in Word to find specific words? Will be used for good cause (prostate cancer research) Office 2016
Novice
Macro in Word to find specific words? Will be used for good cause (prostate cancer research)
 
Join Date: Jul 2019
Posts: 6
cancerresearcher is on a distinguished road
Default Macro in Word to find specific words? Will be used for good cause (prostate cancer research)


Ok so I'm working on doing some data mining from an electronic medical record, but using Microsoft Word (or any other program that you guys may know of) to help me find keywords (from text that I paste into the document) without having to search for them manually.
How this would work ideally would be something like this:
1. have a chart with multiple specific keywords in Column A.
2. Paste text from electronic medical record into Microsoft Word (or any other program)
3. the macro searches for the keywords I assign to it
4. If keywords are found, it in the text field, it would paste the word immediately before or after the keyword.

For example, I may have multiple keywords in this document, but one keyword that Word would look for would be a SHIM score. Hence, word would search the document for "SHIM" from within the text that I paste into the macro. I then paste a large amount of text into Word and it searches for SHIM, BUT the macro pastes the values found immediately before or after the keyword in the document. Let's say in the document it says "SHIM 25" so in the chart, under SHIM, it will display the number 25 for me automatically in the second column.

Something like this would be immensely helpful in data mining. It would allow my team and me to enter data far quicker and produce lots of peer reviewed research in a much quicker fashion. This research would go on to help men all over the world with prostate cancer.

Any assistance to help with this would be GREATLY appreciated. If it's not possible, I am also happy to accept this outcome but figured I would reach out to some experts in this forum first for help.

Thanks so much in advance!
Reply With Quote
 

Tags
keyword, macro, search



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find (highlight) two and more words in a list of 75k single words in Word 2010 Usora Word 8 05-29-2018 03:34 AM
Macro in Word to find specific words? Will be used for good cause (prostate cancer research) Macro to search for specific words in a document mike0215 Word VBA 2 11-28-2017 07:25 AM
VBA Word - Find & Apply Styles to Specific Words - Using Case Statement jc491 Word VBA 17 12-26-2015 12:25 PM
Macro in Word to find specific words? Will be used for good cause (prostate cancer research) Need VBA For Macro On How To Remove Specific Words netchie Word VBA 6 08-28-2012 03:37 PM
Macro in Word to find specific words? Will be used for good cause (prostate cancer research) Macro for highlighting specific number of words icsjohn Word VBA 2 12-07-2011 06:44 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:39 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft