Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-12-2020, 10:27 PM
mdlewis mdlewis is offline VBA Find a string and move the cursor to it Windows 7 64bit VBA Find a string and move the cursor to it Office 2010
Novice
VBA Find a string and move the cursor to it
 
Join Date: Jan 2019
Posts: 11
mdlewis is on a distinguished road
Default VBA Find a string and move the cursor to it

I have a document which has a string such as <<INTERESTS>> in it. To humans this is a placeholder but to word it is just a string.

I want to find each occurrence of <<INTERESTS>>, MOVE the cursor there and then paste material from another doc.

If I use the various methods of find and replace, the string changes but the cursor stays where it was last, and the inserts all occur there.

I want to find "<<INTERESTS>>", move the cursor there and insert / paste THERE.

I don't want to add bookmarks to each occurrence of <<INTERESTS>> unless no other method of positioning succeeds.



Michael
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Find a string and move the cursor to it A macro to find a symbol, delete it, and move the cursor to that location JayBird24 Word VBA 1 08-19-2016 04:26 PM
How to find all string within string. PRA007 Word VBA 18 02-12-2016 08:11 PM
VBA Find a string and move the cursor to it move cursor anand Word VBA 14 07-07-2015 05:57 AM
VBA Find a string and move the cursor to it Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
can't move the cursor in Word pieboy Word 2 02-13-2009 07:15 PM

Other Forums: Access Forums

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