+ Reply to Thread
Results 1 to 3 of 3

Suppress database errors

  1. #1
    Registered User
    Join Date
    08-25-2004
    Posts
    82

    Suppress database errors

    Hi, i am trying to suppress an error or create my own error event in the case the database is locked. I am using excel to import an external data range, and it autoupdates this lookup. In the case the database is not accessible i want to be able to display my own message. I have tried using the commands

    On Error Goto
    and
    On Error Resume Next

    Neither suppress these errors.
    Any suggestions?

    thanks

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello GreenFalcon,

    Without knowing the error description or number, I would guess it may not be trappable. Most system errors are and respond to methods you have used. Check in your VBA help listing for Errors, Numbers. This will provide you with a list of trappable errors. Repost with the error number and description and code you are using to trap the error, if you still have problems.

    Hope this helps,
    Leith Ross
    Last edited by Leith Ross; 04-18-2005 at 07:06 PM.

  3. #3
    Registered User
    Join Date
    08-25-2004
    Posts
    82
    thank you i will try to re-produce the error.

+ 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