Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

trapping runr time error

Posted on 1999-01-13
2
Medium Priority
?
160 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 3

Accepted Solution

by:
traygreen earned 40 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…
Suggested Courses

715 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