Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 03-20-2020, 09:09 AM
abhimanyu abhimanyu is offline Macro To Identify & Highlight Words In MS Word Based Upon A List In Excel File Column Mac OS X Macro To Identify & Highlight Words In MS Word Based Upon A List In Excel File Column Office 2016 for Mac
Novice
Macro To Identify & Highlight Words In MS Word Based Upon A List In Excel File Column
 
Join Date: Mar 2020
Posts: 3
abhimanyu is on a distinguished road
Default

Quote:
Originally Posted by gmayor View Post
Another approach would be as follows. Name the column of Words (without empty cells and omitting the header row if any) as WordList. Then run the following to highlight the listed words. Change the value of strWorkbook as appropriate.


The Excel range is read into an array (without opening Excel) and that array is interrogated to get the words.

Thanks a ton Graham. Let me check this out as well.
 

Tags
editing a document, macros



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro To Identify & Highlight Words In MS Word Based Upon A List In Excel File Column Highlight words from a list Nanaia Word VBA 3 09-07-2018 02:13 PM
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 To Identify & Highlight Words In MS Word Based Upon A List In Excel File Column Macro to highlight a list of words bakerkr Word VBA 4 10-19-2017 02:23 PM
Macro to highlight repeated words in word file and extract into excel file aabri Word VBA 1 06-14-2015 07:20 AM
Macro To Identify & Highlight Words In MS Word Based Upon A List In Excel File Column Highlight Words from a Word List JSC6 Word VBA 1 09-30-2014 08:22 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:18 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