Hello,
Can anyone help me out with this task please?
I have an If statement that consist of 2 parts so it looks like:
if value1 = this then
that
if value2 =this then
that
I would like to create a message box that has content based on the results of the If statement. So for example if result1 is 100 then the value 100 is displayed on the message-box in the first line but if its not 100 its not displayed. Similarly, if value2 is 100 then it is displayed on the message-box (in the first line or in the second depending if value1 is displayed at the same time) box if less it is not. There can be4 scenarios: both values displayed, value1 only,value2 only , none of them.
Should I use a function instead of the If statement?
Let me know if it is not clear enough
Thanks for your help!
Suhi
Can anyone help me out with this task please?
I have an If statement that consist of 2 parts so it looks like:
if value1 = this then
that
if value2 =this then
that
I would like to create a message box that has content based on the results of the If statement. So for example if result1 is 100 then the value 100 is displayed on the message-box in the first line but if its not 100 its not displayed. Similarly, if value2 is 100 then it is displayed on the message-box (in the first line or in the second depending if value1 is displayed at the same time) box if less it is not. There can be4 scenarios: both values displayed, value1 only,value2 only , none of them.
Should I use a function instead of the If statement?
Let me know if it is not clear enough
Thanks for your help!
Suhi