Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-20-2014, 08:33 PM
Jmanville Jmanville is offline VBA find keyword and move to location then add symbol Windows Vista VBA find keyword and move to location then add symbol Office 2007
Novice
VBA find keyword and move to location then add symbol
 
Join Date: Oct 2014
Posts: 2
Jmanville is on a distinguished road
Default VBA find keyword and move to location then add symbol


I need to use VBA in word to firstly match (find) a word in a given document, from a external text file, then move to the right 5 words from the matched word to the end of that word and then at that point insert a symbol and then resume with the next word in the text file, running this all from a macro. The purpose of this is to use a text file to find key words in a document, then in the document move a few words further along and enter a tick before reading the next key word and repeating until the EOF. I can read the file, find the word but cannot then move the cursor to the right and add the symbol only once. It moves the required amount of words but then I seem to get multiple ticks rather than just one for each key word. I just want one tick for each key word 5 words away, reading from a text file.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA find keyword and move to location then add symbol how to find and replace a symbol with another symbol wondermuse Word 5 10-09-2014 06:30 AM
VBA find keyword and move to location then add symbol Move shape to bookmark location Byron Polk Word VBA 4 08-07-2014 03:21 AM
VBA find keyword and move to location then add symbol How to either move document display to right or left; or reduce size of find/replace window. pmstock Word 2 08-02-2014 08:34 PM
VBA find keyword and move to location then add symbol Find keyword in section & delete section donaldadams1951 Word VBA 5 12-03-2013 10:08 AM
Move pst location? markg2 Outlook 0 06-29-2013 11:00 AM

Other Forums: Access Forums

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