Hi John,
>This might be faster:
>
[quoted text clipped - 3 lines]
> strTemp = Right("000" & Hex(AscW(rngChr)),4)
> MsgBox ...
At least it looks better, and faster, too. :-)
But in fact, it isn't. :-(
For 70,000 characters, I get differences of some hundredths seconds.
Sometimes in favor of solution, sometimes in favor of mine.
Have a nice day.

Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
John Nurick - 02 Feb 2007 19:53 GMT
>> strTemp = Right("000" & Hex(AscW(rngChr)),4)
>At least it looks better, and faster, too. :-)
>
>But in fact, it isn't. :-(
>
>For 70,000 characters, I get differences of some hundredths seconds.
>Sometimes in favor of solution, sometimes in favor of mine.
Thanks for the feedback, Helmut.
--
John Nurick [Microsoft Access MVP]
Please respond in the newsgroup and not by email.