![]() |
#4
|
||||
|
||||
![]()
Paul has covered the links to code to post field constructions.
As for the construction I posted (without access to your data to see what the field actually produced) it doesn't need the alternative. If the condition is not met, the field produces nothing. The idea being to compare what { MERGEFIELD Anniv } produces with the equivalent date in the same format.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Hide/Un-hide a worksheet based on cell on another sheet. | easton11 | Excel Programming | 1 | 06-02-2015 12:07 PM |
![]() |
Richard.p | Word | 3 | 04-21-2015 01:14 AM |
SUM a single mergefield | kawirider88 | Mail Merge | 1 | 09-29-2013 06:37 PM |
![]() |
CharlieVW | Mail Merge | 3 | 05-07-2012 12:11 PM |
Mergefield date error | michielvanderbiest | Mail Merge | 1 | 04-12-2010 11:22 PM |