Solved

trapping runr time error

Posted on 1999-01-13
2
152 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
Comment Utility
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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now