Solved

trapping runr time error

Posted on 1999-01-13
2
154 Views
Last Modified: 2010-05-03
I am getting a run time error 424, object not found. I want to get rid of that by making the system to execute next like  resume next. How can I do that.
0
Comment
Question by:lesa
  • 2
2 Comments
 
LVL 3

Accepted Solution

by:
traygreen earned 10 total points
ID: 1456036
Find out where the error is occurring - to lock it down - go through the code and place break points where you think it is occurring.  Then test.  Move the breakpoints according to wether the error occurs before or after the error.  When you find where the error is being raised, check to see if there is any error trapping in place.  If not include the code
On Error Resume Next
0
 
LVL 3

Expert Comment

by:traygreen
ID: 1456037
If there is error trapping in place...
Go to the error label and make sure that there is a select case err.number block.  In the select statement place the item case 424 with a resume next
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA color chart bars 12 85
VBA open file from excel cell 4 42
Access Object Property from VBA Module in Excel 2010 2 31
Help me. 3 54
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question