ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Error Handling (https://www.excelbanter.com/excel-programming/289685-error-handling.html)

James Agostinho

Error Handling
 
Hello NG,

Can some one please tell me how to trap a specific error?

I want to be able to test for a couple of different errors by the error
number and then handle the error a specific way.

Any help would be greatly appreciated

Thanks
James




Rob van Gelder[_4_]

Error Handling
 
In VBA help, do a search for the Err object. That will give you a start.
Under 'See Also', there might be a link to a list of "Trappable Errors"

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"James Agostinho" wrote in message
...
Hello NG,

Can some one please tell me how to trap a specific error?

I want to be able to test for a couple of different errors by the error
number and then handle the error a specific way.

Any help would be greatly appreciated

Thanks
James







All times are GMT +1. The time now is 01:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com