Advertisement
AyanUpadhaya

If Else condition in VBScript

Oct 24th, 2021
545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Option Explicit
  2.  
  3. Dim password
  4. password = InputBox("Please enter the password:")
  5.  
  6. If password = "master" Then
  7.     MsgBox "Welcome to facebook"
  8. Else
  9.     MsgBox "Incorrect password"
  10. End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement