|
-
May 18th, 2009, 01:13 PM
#1
Thread Starter
New Member
Im still a beginner and i need help with this code
Okay, so the error message says "Block If without End If"....any suggestions?
Private Sub Timer1_Timer()
intCounter = intCounter + 1
If intCounter = 185000 Then
MsgBox "Times up!", vbInformation + OKOnly, "UR SO SLOW"
If Response = vbOK Then
Unload Me
Timer1.Enabled = False
End If
lblTimer = intCounter
End Sub
-
May 18th, 2009, 01:20 PM
#2
Re: Im still a beginner and i need help with this code
If you indent your code properly, you will find that you have two IF statements but only one END IF.
-
May 18th, 2009, 01:21 PM
#3
Thread Starter
New Member
Re: Im still a beginner and i need help with this code
OOooooo gotcha buds, thanks really much
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|