Use
{ IF { MERGEFIELD myfield } <> "" "{QUOTE{SET Data {MERGEFIELD
myfield}}{=MOD({=INT({REF Data}/100)-1},100)+1 \
#00}}
{IF{REF Data }= "*1?" 1 {IF{REF Data }= "*2?" 2 {IF{REF Data }= "*3?" 3
{IF{REF Data }= "*4?" 4 {IF{REF Data }= "*5?" 5 {IF{REF
Data }= "*6?" 6 {IF{REF Data }= "*7?" 7 {IF{REF Data }= "*8?" 8 {IF{REF Data
}= "*9?" 9 0}}}}}}}}}
{IF{REF Data }= "*1" 1 {IF{REF Data }= "*2" 2 {IF{REF Data }= "*3" 3 {IF{REF
Data }= "*4" 4 {IF{REF Data }= "*5" 5 {IF{REF Data }=
"*6" 6 {IF{REF Data }= "*7" 7 {IF{REF Data }= "*8" 8 {IF{REF Data }= "*9" 9
0}}}}}}}}}} "" }
I have assumed that you have correctly quoted the construction that Macropod
gave you, though I have replaced "(" before the QUOTE with the required "{".
All of the field delimiters { } must be entered by using Ctrl+F9.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Hello!
>
[quoted text clipped - 25 lines]
> 9
> 0}}}}}}}}}}
Pixie - 29 Nov 2007 13:32 GMT
That worked brilliantly. Thanks so much.
> Use
>
[quoted text clipped - 44 lines]
> > 9
> > 0}}}}}}}}}}