View Single Post
 
Old 06-10-2019, 08:48 PM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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
Reply With Quote