View Single Post
 
Old 05-04-2012, 11:35 AM
HFrostick HFrostick is offline Windows XP Office 2010 64bit
Novice
 
Join Date: May 2012
Posts: 2
HFrostick is on a distinguished road
Default

Hello. My task is similar except I need to replace the entire search string with a text form field and have the default text display only the entire matched string (all instances).

The fields that need to be removed and replaced by a text form field all look similar to this: < Insert ... here>

.Text = "\< Insert *\>" works correctly at identifying all valid fields but the text form field is replacing only the last character of the matched string so the results all look like this:
< Insert .... here<Insert .... here>.

Can anyone suggest how to get rid of the leading text so the text form field default reads exactly as it was found?

Any aditional help would be appreciated.

Thanks,
Harold
Reply With Quote