Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Sub IfName()
Dim strName As String
strName = "Alex"
If strName = "John" Then
Debug.Print "Welcome Back" + strName
Debug.Print "Hello " + strName
End If
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment