#1
|
|||
|
|||
Multiple actions in an IF statement
Hi
Is it possible have multiple actions in an IF statement i.e. I want to combine some fixed text and mergefield together. An IF statement do to something like this IF "condition" = "A" then "Correct" else "First Letter was " {MERGEFIELD FirstLetter} E.g. { IF { MERGEFIELD FirstLetter } = "A" "Correct" "First Letter was " { MERFGEFIELD FirstLetter } } FirstLetter = A you get "Correct" FirstLetter = B you get "First Letter was B" Is this possible or do I need multiple IF's? TIA Iam |
#2
|
||||
|
||||
Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
So I need multiple IF's to do this, I can't do it in one?
|
#4
|
||||
|
||||
Well, the field syntax depicted in your initial post is close to being correct for what you described, but it's not clear what else you're trying to achieve. The correct syntax is:
Code:
{ IF { MERGEFIELD FirstLetter } = "A" "Correct" "First Letter was { MERFGEFIELD FirstLetter }" }
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Hi
I get it now. Many thanks Ian |
Tags |
if multiple actions |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting a Select statement in Excel to an update statement | shabbaranks | Excel Programming | 5 | 10-31-2018 11:47 PM |
Actions assistance | aw12 | PowerPoint | 2 | 12-14-2017 01:49 PM |
Using multiple conditions with an IF statement?? to show a yes/no value | BlindMouse | Excel | 1 | 01-27-2016 12:19 AM |
Standardise repeated actions | TiVivibi | PowerPoint | 0 | 10-10-2014 02:06 PM |
run multiple actions with macro | hudsontucker13 | PowerPoint | 2 | 11-22-2013 07:12 AM |