Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-29-2017, 09:59 PM
Helend269 Helend269 is offline How do I search a doc and run code on finding a word? Windows 7 32bit How do I search a doc and run code on finding a word? Office 2003
Novice
How do I search a doc and run code on finding a word?
 
Join Date: Aug 2017
Posts: 15
Helend269 is on a distinguished road
Default

Thank you, that worked beautifully on a test piece but on the target document it made it non-responding, threw up an error after a minute or two and ALL the text was in caps. Clearly a problem with the size of the document, not your code so thank you for answering my query but I seem to be asking it to do too much on a huge document. (4,000 pages, 1/2 million words or so!)

However, since it works on a smaller document I can still use it. I'll just copy chunks of text to a new document, run this macro over that and then re-paste the altered text back into the huge document. That should work. :-)

Many thanks for your help, it is much appreciated.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook search not finding recent mail; rebuild ix did nothing PeterA Outlook 0 01-19-2017 12:27 AM
How do I search a doc and run code on finding a word? Need some vba code to search a word document an replace it if len = 3 Belleke Word VBA 3 10-24-2016 01:00 AM
How do I search a doc and run code on finding a word? Finding more than one word using "find" or using a vba code capitala Word VBA 1 02-03-2014 06:45 PM
How do I search a doc and run code on finding a word? Outlook 2010 Search not finding all items gdrunner Outlook 2 03-10-2013 06:48 PM
Outlook 2010 search not finding everything rexracer Outlook 5 07-21-2011 02:31 AM

Other Forums: Access Forums

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