On Tue, 3 Jan 2006 06:23:40 +0100, "Doug Robbins - Word MVP"
wrote:
Use \]
See the article "Finding and replacing characters using wildcards" at:
http://www.word.mvps.org/FAQs/Genera...gWildcards.htm
Do you mean like this: "[A-Za-z0-9\]]" ?
The following code:
If obChar.Text Like "[A-Za-z0-9\]]" then...
is always false with even for A-Z, a-z, and 0-9.
Change it to:
If obChar.Text Like "[A-Za-z0-9]" then ...
and it works perfectly.
--
Running Word 2000 SP-3 on Windows 2000