replacing text within a selection
Posted on 2004-08-13
I already have code that selects text in template word doc based on querys in access that correspond to bookmarks in the word doc. Once the selection is highlighed, I would like to, replace certain words with the values of text fields from access.
Setting up a recordset, pulling the values in, etc, is all stuff I have enough working knowledge to do... what I need help with is the simple find/replace within a selection command... how can I do this? Do I have to define a range object? or if the selection is always going to be a bookmark, could i find/replace within the bookmark object pretty easily?