Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
Private Sub Command1_Click()
Dim i As Integer
Do While i < 10
If i = 5 Then
i = i + 1
(????????)
End If
print i
i = i + 1
loop
End Sub
In the above code I don't want to print value if i = 5. I should achieve this without a GOTO statement.
Any suggestions pls.
Thanks in advance
Private Sub Command1_Click()
Dim i As Integer
Do While i < 10
If i = 5 Then
i = i + 1
(????????)
End If
print i
i = i + 1
loop
End Sub
In the above code I don't want to print value if i = 5. I should achieve this without a GOTO statement.
Any suggestions pls.
Thanks in advance