June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
16
Task/Conditional-structures/VBA/conditional-structures-2.vba
Normal file
16
Task/Conditional-structures/VBA/conditional-structures-2.vba
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
Sub C_S_ElseIf()
|
||||
Dim A$, B$
|
||||
|
||||
A = "Hello"
|
||||
B = "World"
|
||||
'test
|
||||
If A = B Then Debug.Print A & " = " & B
|
||||
'other syntax
|
||||
If A = B Then
|
||||
Debug.Print A & " = " & B
|
||||
ElseIf A > B Then
|
||||
Debug.Print A & " > " & B
|
||||
Else
|
||||
Debug.Print A & " < " & B
|
||||
End If
|
||||
End Sub
|
||||
Loading…
Add table
Add a link
Reference in a new issue