![]() |
|
#1
|
|||
|
|||
![]()
Hello,
I'm trying to do a mail merge and I want to use an If statement. We have a signature page that sometimes needs to be signed by more than one party. Is there a way to create an If statement that has the variable of "if more than person, create another signature line for the extra person" Thanks hope this is explained enough |
#2
|
||||
|
||||
![]()
The simple answer is yes, but you'd need to have something in the datasource the field can evaluate. For example:
{IF«Sig_Count»= 2 "__________________¶ __________________¶ " "__________________¶ "} where 'Sig_Count' is a field in the data source indicating the # signatures required. Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practicable to add them via any of the standard Word dialogues. Likewise, you can't type or copy & paste the chevrons (i.e. '« »') - they're part of the actual mergefields, which you can insert from the mailmerge toolbar. The spaces represented in the field construction are all required. Instead of the ¶ characters, you should use real line/paragraph breaks.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Tags |
if statement, mail merge, mail merge help |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mail Merge Duplication of address on merge | RICKY | Mail Merge | 1 | 09-26-2012 03:14 PM |
![]() |
danellekent | Mail Merge | 1 | 04-27-2012 02:19 AM |
![]() |
Aude | Mail Merge | 1 | 01-06-2012 07:38 PM |
![]() |
borntorun75 | Mail Merge | 3 | 12-16-2011 06:28 AM |
![]() |
sedain121 | Mail Merge | 2 | 10-04-2011 07:52 PM |