Hi All,
Not at home, therefore cannot test it myself, want to prepare the stuff now as it will take some time...
If <condition1> AND <condition2> Then
...
End If
Will this one work, or do I need to code this as the following?
If <condition1> Then
If <condition2> Then
...
End If
End If
Thanks in advance.
Regards,
[Solved] Nested IF's / logical operators?
[Solved] Nested IF's / logical operators?
Last edited by gurkand on Wed Feb 28, 2018 8:13 pm, edited 1 time in total.
LibreOffice 6.3
Re: Nested IF's / logical operators?
This will work:
Code: Select all
If <condition1> AND <condition2> Then
...
End If
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Re: Nested IF's / logical operators?
It can help clarity to use brackets.
Code: Select all
If (<condition1> AND <condition2>) Then
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)