That suggests you may be working with a Windows regional setting that doesn't accept some of the english-language expressions. Try changing:
.Text = "\<[!\>\<]{1,}\>"
to:
.Text = "\<[!\>\<]{1;}\>"
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|