![]() |
#12
|
||||
|
||||
![]()
If the data contains INV-0001 (or INV-1) then the switch \# "0000" will produce
-0001. You can add INV or DO to this, as a prefix, as appropriate. DO{ MERGEFIELD DocNumber \#"0000" } or INV{ MERGEFIELD DocNumber \#"0000" }
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
Tags |
merge field, merge fields |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Formula to populate column with text prefix then next number (ascending) | SerenityNetworks | Excel | 4 | 02-05-2019 07:22 AM |
![]() |
tommatwalker | Mail Merge | 6 | 07-17-2018 12:30 AM |
Find entries lacking prefix and then add prefix. | gsteel | Excel | 2 | 08-28-2017 11:36 AM |
![]() |
Gwen Butler | Office | 2 | 09-29-2011 06:10 AM |
![]() |
tollanarama | Word | 4 | 01-25-2011 02:19 AM |