+ Reply to Thread
Results 1 to 2 of 2

on error exit sub

  1. #1
    Registered User
    Join Date
    03-27-2005
    Posts
    59

    on error exit sub

    as the title says how can it be done i assume it has to go to an error handler but any help would be apprechiated thanks

  2. #2
    Forum Contributor
    Join Date
    03-03-2005
    Posts
    316
    Place the error handler flag next to "End Sub" viz:

    Sub test()

    On error GoTo errhandler

    <code here>


    errhandler:
    End Sub

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1