
07-09-2007, 10:14 AM
|
|
Centurion
|
|
Join Date: Mar 2007
Posts: 154
|
|
|
You probably mean "Exit Sub" instead of "End Sub". "End Sub" declares the end of a sub and thus cannot be used inside any conditional code.
"Exit Sub" on the other hand simply means, exit this sub, or you could see it as "go to End Sub".
|
|