Results 1 to 9 of 9

Thread: Exit Sub[RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2004
    Posts
    1,414

    Resolved Exit Sub[RESOLVED]

    Hi to all:

    I need to exit a form in some situation like:

    VB Code:
    1. If var <> 1 Then
    2. MsgBox "Atenção:O Ano Selecionado Não existe na Base de Dados"
    3. Exit Sub
    4. End If

    but the "Exit Sub" don't work like desired,because the code continue to work,in the form ....

    well... I need to exit the form...
    Some help to do this?

    Thanks
    Last edited by sacramento; Feb 25th, 2006 at 04:15 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width