Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-16-2014, 10:29 PM
macropod's Avatar
macropod macropod is offline Find and highlight multiple words in a document Windows 7 32bit Find and highlight multiple words in a document Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,523
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

Actually, I probably mis-read which set of code you were referring to. The macro quoted in your post doesn't use wildcards, so that aspect of the issue doesn't apply. Even so, the code is Word-specific and would require some changes before it could be used (if at all) in Outlook.



Outlook doesn't work with Word's Document or Range metaphors, so you'd have to change those aspects, presumably to work with a specified email (the outlook equivalent of a Word document) and it's body text (the Outlook equivalent of a Word range). On top of that, whatever Find/Replace code you use would have to be tailored to Outlook's VBA methods & properties (see http://msdn.microsoft.com/en-us/library/ee814736.aspx). If you take the Word code you're using and ask a question in our Outlook forum as to how to adapt it for use with whatever it is you're trying to highlight, someone there might be able to help you.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and highlight multiple words in a document Find and highlight multiple words in MS Word document AtaLoss Word VBA 37 09-22-2021 12:04 PM
Find and highlight multiple words in a document Help with finding multiple keywords in a single document then highlight navyguy Word 2 01-03-2014 12:48 PM
Find and highlight multiple words in a document Highlight and then replace multiple words redhin Word VBA 5 03-05-2013 05:42 AM
Find and highlight multiple words in a document Find and highlight all words ending in -ly RBLampert Word VBA 13 10-23-2012 04:45 PM
find - reading highlight - highlight all / highlight doesn't stick when saved bobk544 Word 3 04-15-2009 03:31 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:20 AM.


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