Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Please Help: Whats wrong with my For loop?
With Me.StudentId.Value
Dim i As Integer If Me.Name.Value = "" Then For i = 1 To 3 MsgBox (" please re-enter Student Id number") Exit For Next i Me.Name.Enabled = True Me.Address.Enabled = True Me.Ph_No.Enabled = True End If End with I want the students to try inputing their ID 3 times before the Name, Address and Ph_No fields are enabled for them to input. Thanks in advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Whats wrong with this!!!!! | Excel Programming | |||
whats wrong with this? | Excel Discussion (Misc queries) | |||
Whats Wrong With This | Excel Programming | |||
Whats wrong with this? | Excel Discussion (Misc queries) | |||
Whats Wrong with this?? | Excel Worksheet Functions |