|
-
May 16th, 2007, 06:27 AM
#1
Thread Starter
Addicted Member
Error Handling - Excel VBA [RESOLVED]
What i want to be able to do is the following:
i want be able to extract the line of code that is running that cause the error
e.g if you had on line 32
average = 32/0
this statement would give you an error, is there anyway i could extract this line number.
What i then want to do is to display a message box saying
"Please contact your administrator quoting L32 and " & Err
where L32 is the line number, and Err is obviously the error number.
Thanks
Mitch
Last edited by Mitch_s_s; May 16th, 2007 at 05:23 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|