Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-14-2021, 08:19 AM
IanT IanT is offline Multiple actions in an IF statement Windows 10 Multiple actions in an IF statement Office 2016
Novice
Multiple actions in an IF statement
 
Join Date: Jan 2021
Posts: 3
IanT is on a distinguished road
Default 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
Reply With Quote
 

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
Multiple actions in an IF statement 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
Multiple actions in an IF statement run multiple actions with macro hudsontucker13 PowerPoint 2 11-22-2013 07:12 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft