by Garrett Maxson | Apr 9, 2018 | Free Scripts
I = 0 While I <= 10 MsgBox I i=i+1 Wend
by Garrett Maxson | Apr 9, 2018 | Free Scripts
onOff = True If onOff = True Then MsgBox “This item is on.” Else MsgBox “This item is off.” End If
by Garrett Maxson | Apr 9, 2018 | Free Scripts
For I = -1 To 10 MsgBox I If I = 3 Then Stop Next I
by Garrett Maxson | Apr 9, 2018 | Free Scripts
MsgBox “Please press OK button” If MsgBox(“Please press OK button”,vbOkCancel) = vbOK Then MsgBox “OK was pressed” Else MsgBox “Cancel was pressed” End If
by Garrett Maxson | Apr 9, 2018 | Free Scripts
i = InputBox$(“Enter Your Name:”, _ “Input Box Example”,”Garrett”) If i = “Garrett” Then MsgBox “You work for DragonScripting.com” Else MsgBox “You do not work for DragonScripting.com” End...
by Garrett Maxson | Apr 9, 2018 | Free Scripts
GoTo toThis MsgBox”This line of code will be skipped over and go directly to toThis: unless this code is broke…” MsgBox ” This line of code is not working now. toThis: MsgBox “Code is working properly.”