View Single Post
 
Old 02-12-2020, 10:27 PM
mdlewis mdlewis is offline Windows 7 64bit Office 2010
Novice
 
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