Solved

dealing errors

Posted on 1998-08-27
1
145 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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.
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…
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…

809 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