Professional Documents
Culture Documents
Mark Sheet Program Visual Basic
Mark Sheet Program Visual Basic
Code
Option Explicit
'Comments
Exit Sub
End If
Text1.Text = ""
Text1.SetFocus
End If
Text2.Text = ""
Text2.SetFocus
End If
Text3.Text = ""
Text3.SetFocus
End If
Text4.Text = ""
Text4.SetFocus
End If
Exit Sub
End If
MsgBox Perc
MsgBox Perc
MsgBox Perc
MsgBox Perc
MsgBox Perc
End Select
End Sub
ElseIf marks >= 280 And marks < 320 Then ' Check by using OR Operators
MsgBox Perc
MsgBox Perc
MsgBox Perc
Else
End If
End Sub