Full Version: Find, Replace, and Typetext
UtterAccess Discussion Forums > Microsoft® Access > Access Automation
vincent1701
Hi,

Can someone tell me the best way to do the following? I have a project that opens up Word. I would like to do a word FIND for this string "<<OWNERS>>" and then be able to spit out a list of records where that string was found in the document (replacing the string in the process). I would normally do a ".Replacement.Text = " but since I will be either inserting a single record or a hundred of them, I don't think that would work well. Might I be able to fetch the insertion point after replacing the string with "" and then doing TypeText? Not sure how that would work... Any ideas would be appreciated!
thanks
Vince
vincent1701
Nevermind, I found another way to do this. Apparently when you do a normal "Find" the insertion point is placed over what you were searching for so it all worked out!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.