Home General VB/VBA Yes/No Question
20 | 05 | 2012
This site has been updated and renewed. You have followed an old link.

Click here to go to the new site

http://www.visiblevisual.com/jupgrade

Yes/No Question PDF Print E-mail
User Rating: / 0
PoorBest 
Tutorials
Written by Administrator   

Yes No Function

[code]

Private Sub Form_Load()
 
'*************************************
'**Downloaded from VisibleVisual.com**
'*************************************
 
    If Question("Do you like it? ") = True Then
    MsgBox "Yes its true"
    Else
    MsgBox "No it's not true"
    End If
 
End Sub

Function Question(ByVal Message As StringAs Boolean
 
    'Display MessageBox
    Question = MsgBox(Message, vbQuestion + vbYesNo, "Question")
 
End Function
[/code]
 

Add comment


Security code
Refresh

This site has been updated and renewed. You have followed an old link.

Click here to go to the new site

http://www.visiblevisual.com/jupgrade