Hi Ted,
Maybe I'm just tired, but I don't understand your question/problem. The code
you show me will replace any existing content in the bookmark, insert strRep
at the bookmark position, then recreate the bookmark around strRep. If you
then apply the underlining to Bmrange, it should only underline strRep.
What am I missing? Can you describe to us how the result you're getting
doesn't do that?
> Would like to only underline the data in the bookmark not the entire length
> of the bookmark.
[quoted text clipped - 12 lines]
> wonder if something can be done with the first line to limit the range to
> the length of strRep? TIA
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)