|
-
Feb 27th, 2001, 04:41 PM
#1
Thread Starter
Member
Whenever I try to use an End Sub in my If statement it wont work why is this and is there any way I can get around it.
Matt
-
Feb 27th, 2001, 04:45 PM
#2
Hyperactive Member
Try Exit Sub. That is, if I'm understanding you correctly.
A cynic knows the price of everything but the value of nothing.
-
Feb 27th, 2001, 04:45 PM
#3
You cant do that. You use Exit sub.
-
Feb 27th, 2001, 04:54 PM
#4
Thread Starter
Member
Not working
Alright I tried that but it isn't working either. Is there any way I can just make it stop running the code after the if statement. I'm pretty much just checking a textbox to see if it has any text before the user clicks the button.
Matt
-
Feb 27th, 2001, 04:55 PM
#5
Hyperactive Member
If text = "" then
exit sub
end if
A cynic knows the price of everything but the value of nothing.
-
Feb 27th, 2001, 04:56 PM
#6
you may want to post your code. You condition isnt being met so you have done something else wrong. Its not the Exit Sub.
-
Feb 27th, 2001, 05:09 PM
#7
Thread Starter
Member
I'm an idiot
Yup, I'm an idiot went back and checked my code, now it works fine.
Thanks a lot,
Matt
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
|