Solved

dealing errors

Posted on 1998-08-27
1
144 Views
Last Modified: 2010-04-30
Hello
I thing there is some method to work with errors.
"Trapable errors"
What can you say about this?

Thanks
Alberto
0
Comment
Question by:asimoes
1 Comment
 
LVL 1

Accepted Solution

by:
wford earned 50 total points
ID: 1431275
in VB there is the On error command, you can use it to trap any errors in each function with

on error Goto myErrorFixfunction
OR
on error Resume Next
OR
on Error End
if you can test errors with Err.Number Err.Description etc... and once you are happy that the are solved or not important then you can use a Resume next statement to keep going, all this is in the VB help documentation  
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

785 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