Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
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 |
#2
![]() |
|||
|
|||
![]()
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 |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Expanding length of a field in a Microsoft Word form | Microsoft Word Help | |||
How do I use the PRINT field code to ... | Microsoft Word Help | |||
How do I set field length in template/form regardless of data siz. | Microsoft Word Help | |||
Text Form Field Ref in Footer Won't Update on Screen | Microsoft Word Help | |||
fix field length in a cel | Tables |