Private sub command1
- 1. Private Sub Command1_Click()<br />a = Text1.Text<br />b = Text2.Text<br />MsgBox (quot;
hello quot;
& a & quot;
quot;
& b)<br />End Sub<br />Private Sub Command2_Click()<br />Form2.Show<br />Form1.Hide<br />End Sub<br />Private Sub Command3_Click()<br />Form3.Show<br />Form1.Hide<br />End Sub<br />Private Sub Command1_Click()<br />score = Text1.Text<br />If (score >= 50) Then<br /> MsgBox (quot;
passquot;
)<br /> Else<br /> MsgBox (quot;
failquot;
)<br /> End If<br />End Sub<br />Private Sub Command2_Click()<br />Form1.Show<br />Form2.Hide<br />End Sub<br />Private Sub Command3_Click()<br />Form3.Show<br />Form2.Hide<br />End Sub<br />Private Sub Command1_Click()<br />score = Text1.Text<br />If (score >= 1000) Then<br /> MsgBox (quot;
bonusquot;
)<br /> Else<br /> MsgBox (quot;
sorryquot;
)<br /> End If<br />End Sub<br />Private Sub Command2_Click()<br />Form1.Show<br />Form3.Hide<br />End Sub<br />Private Sub Command3_Click()<br />Form2.Show<br />Form3.Hide<br />End Sub<br />