Hi Jerry.
A wildcard search can still do exact matches, if you can pin down the
conditions well enough. Can I assume that the *1 you're looking for is
always followed by a space or punctuation? The wildcard zoo includes codes
for "start of word" and "end of word", so you may be able to use the
criterion
.Text = "\*1>"
The asterisk has to be escaped with the backslash to look for an actual
asterisk, and the > means "end of word".

Signature
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
> Hi Helmut,
>
[quoted text clipped - 61 lines]
>> Word XP, Win 98
>> http://word.mvps.org/
JBNewsGroup - 17 Feb 2005 07:34 GMT
Hi Jay,
The *1 is it. There is no punctuation or space after it. Also, there may,
or may not be, an * preceding the data and all data is variable length
alpha-numeric. I will try the wild card approach. I am still a little
sketchy using all the wild card options but I will check them out and see
what else there is. I am assuming that the end of word will work for table
cells. Thanks for replying and for the wild card hint.
Jerry Bodoff
> Hi Jerry.
>
[quoted text clipped - 74 lines]
> >> Word XP, Win 98
> >> http://word.mvps.org/
JBNewsGroup - 17 Feb 2005 09:58 GMT
Hi Jay,
I re-read the MVP article "Finding and replacing characters using
wildcards". It turns out that the wildcard string you suggested works like a
charm. I only have to worry about the first * as the data has been validated
for only one * at the beginning, if any at all. I finally got rid of the
loop that was slowing me down (1 to 3 tables may have to be searched).
Once again thanks for your help.
Jerry B
> Hi Jerry.
>
[quoted text clipped - 74 lines]
> >> Word XP, Win 98
> >> http://word.mvps.org/