Thread: Field length
View Single Post
  #2   Report Post  
macropod
 
Posts: n/a
Default

Hi Steve,

Not with text strings. You could use math on numeric values, though, by
testing the value against powers of 10 to calculate the number of
(non-decimal) digits. This could be extended to testing decimals also, but
that's a bit more work.

Cheers


"Steve Wylie" wrote in message
om...
Is there a way I can use an IF statement to tell the length of a
particular merge field? I'm thinking of something like
LEN(mergefield). Does such a thing exist in Word? I can't even think
that a macro would help me...

Steve Wylie