Skip to content

Instantly share code, notes, and snippets.

@ganesh092929
Created December 25, 2017 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ganesh092929/e3793a417f3b96b06a42bccbe364d439 to your computer and use it in GitHub Desktop.
Save ganesh092929/e3793a417f3b96b06a42bccbe364d439 to your computer and use it in GitHub Desktop.
Sub IfName()
Dim strName As String
strName = "Alex"
If strName = "John" Then
Debug.Print "Welcome Back" + strName
Else
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