Eric
2003-10-04 23:59:53 UTC
This is stupid, I know but just for learning I am trying to understand how
all this works. I can not get VB to say "Then pick up the darn phone".
What am I doing wrong? Am I way off base or what?
Private Sub CmdVBOk_Click()
intpress = MsgBox("Are you there", vbYesNo)
If intpress = 1 Then
rem if intpress = yes then
MsgBox "Then pick up the darn phone"
Else
MsgBox "Ok Call ya later"
End If
End Sub
Thank you
Eric
all this works. I can not get VB to say "Then pick up the darn phone".
What am I doing wrong? Am I way off base or what?
Private Sub CmdVBOk_Click()
intpress = MsgBox("Are you there", vbYesNo)
If intpress = 1 Then
rem if intpress = yes then
MsgBox "Then pick up the darn phone"
Else
MsgBox "Ok Call ya later"
End If
End Sub
Thank you
Eric