![]() |
#1
|
|||
|
|||
![]()
Hi.
Is posible that IF statement returns just True o False? if somevariable then Trueelse Falseend if |
#2
|
|||
|
|||
![]()
Your current syntax assumes, that somevariable is boolean, i.e. True or False!
When this is case, simply use somevariable instead of If .. End If When this not the case, then something like Code:
=somevariable = SomeExpression |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
saltwater | Mail Merge | 3 | 11-27-2022 05:06 PM |
Returning Boolean | Bikram | Word VBA | 4 | 04-04-2022 07:39 PM |
![]() |
ScottyBee | Word VBA | 8 | 03-25-2019 03:24 PM |
Return Entire Row | ibrahimaa | Excel | 3 | 01-10-2012 05:44 AM |
Return to in box | cjwilson2740 | Outlook | 0 | 04-05-2010 02:27 PM |