Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-21-2014, 07:48 AM
Daniel_NYC Daniel_NYC is offline Using macros to highlight worksheet words referenced in external list/doc. Windows XP Using macros to highlight worksheet words referenced in external list/doc. Office 2007
Novice
Using macros to highlight worksheet words referenced in external list/doc.
 
Join Date: Apr 2014
Posts: 1
Daniel_NYC is on a distinguished road
Default Using macros to highlight items referenced in external list/doc.

Hello all, pretty new into VBA and still learning a lot. I've been trying to figure out how to create a macros that references an external list of words (word,excel,.txt) and only uses it/the words as a reference to highlight those specific words in the any word excel sheet I would be using.

Example: One of my sheets contain 100s of ratios but I only want to focus on some select few. I am aware of conditional formatting but want to figure out if macros is a possibility to aid our department. So the whole thing would be to use an external list (document/sheet always in the same file path), link it to the macros ran on the "ratios" excel sheet to simply highlight the "words" specified in such external list, and focus on solely those highlighted ratios.



I am a big newbie but trying! Any help would be greatly appreciated!!! Again, super new to this and a little lost!

Last edited by Daniel_NYC; 04-21-2014 at 12:57 PM.
Reply With Quote
  #2  
Old 04-21-2014, 03:35 PM
macropod's Avatar
macropod macropod is offline Using macros to highlight worksheet words referenced in external list/doc. Windows 7 32bit Using macros to highlight worksheet words referenced in external list/doc. Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

There are numerous threads here discussing the use of Excel workbooks for Find/Replace data and for using Find/Replace to highlight text. For example, the following show how to use an Excel workbook for Find/Replace:
https://www.msofficeforums.com/word-...html#post34254
https://www.msofficeforums.com/word-...html#post61860
https://www.msofficeforums.com/word-...support-3.html
The following show a number of ways you might go about the highlighting:
https://www.msofficeforums.com/word-...html#post53881
https://www.msofficeforums.com/word-...per-nouns.html
https://www.msofficeforums.com/word/...html#post34984
This one even does both:
https://www.msofficeforums.com/word-...e-ms-word.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using macros to highlight worksheet words referenced in external list/doc. Find and highlight multiple words in MS Word document AtaLoss Word VBA 37 09-22-2021 12:04 PM
Using macros to highlight worksheet words referenced in external list/doc. Macro to highlight a list of words bakerkr Word VBA 4 10-19-2017 02:23 PM
Using macros to highlight worksheet words referenced in external list/doc. VBA to highlight words if used too much aolszewski Word VBA 3 11-23-2013 02:07 AM
permanently highlight searched words in word 2013 arjay Word 4 08-16-2013 09:29 AM
Using macros to highlight worksheet words referenced in external list/doc. Macro to highlight words bertietheblue Word VBA 9 07-01-2013 12:39 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:35 PM.


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