![]() |
|
#4
|
||||
|
||||
|
Hi Steven,
Quote:
Re: Quote:
{={MERGEFIELD SomeField} \# 0} That will even strip leading 0s - or you can add extra 0s to the one in the field to preserve them. Coding the field as: {={MERGEFIELD SomeField} \# "$,0"} will even format it as currency with thousands separators. However, there is no practical way for trimming for text with field coding, so you can't turn "BLAH 1234" into "BLAH". Pre-processing in Word would enable you to place the strings into separate fields, though.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to refer a field in another field | DaveSmith | Word | 0 | 08-24-2010 06:44 PM |
| Dash in the beginning of a new line | Wakinyan | Word | 0 | 07-11-2010 07:10 AM |
| Page break middle of table (word 2003) | mujisan | Word Tables | 1 | 06-18-2010 12:05 AM |
| Adding a field to a folder of PDF files. | Balliol | Windows | 0 | 11-22-2009 02:02 PM |
| Hyphen vs. en-dash | tocuin | Word | 0 | 09-18-2009 10:01 AM |