複数条件の設定方法

初心者質問で申し訳ございません。
分岐に設定する条件を以下のように設定したいです。

A=1&B=1、もしくはA=1&C=1、もしくはD=1の場合

条件が複数ある場合、条件式にはどのように記載すればよいのでしょうか。

Hi @m-takeda1

You can use below condition in If

If
 (A = 1 AndAlso B = 1) OrElse (A = 1 AndAlso C = 1) OrElse (D = 1)
Then
   Your activities here if any of the conditions are true
Else
   Your activities here if none of the conditions are true
End If

Regards

1 Like

設定できました!
ありがとうございました!

1 Like

when a more generic lambda approach is targeted we can rewrite to:
grafik

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.