Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default reset "on error resume next"

I have a section of code that I want to use "on error resume next" to
bypass certain errors but then I want to restore the code to using the
normal error function without using an error handling routine (just
getting the visual basic popup stating that an run-time error
occurred).

How can I do that?

Thanks.

Edward

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 698
Default reset "on error resume next"

Restore default error checking with this statement:

ON ERROR GOTO 0

(Not especially Intuitive)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Edward" wrote:

I have a section of code that I want to use "on error resume next" to
bypass certain errors but then I want to restore the code to using the
normal error function without using an error handling routine (just
getting the visual basic popup stating that an run-time error
occurred).

How can I do that?

Thanks.

Edward


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default reset "on error resume next"

On Jun 30, 1:24 pm, Ron Coderre
wrote:
Restore default error checking with this statement:

ON ERROR GOTO 0

(Not especially Intuitive)

Does that help?
***********


Yes. Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where does an "On error resume next" statement apply? davegb Excel Programming 1 December 6th 06 08:45 PM
"on error resume next" NOT working... Chris M Excel Programming 2 July 13th 05 10:30 PM
how to stop "On error resume next" ? Alex St-Pierre Excel Programming 0 February 11th 05 02:03 PM
Problem with "On error resume next" with "custom VLookup" Factivator Excel Programming 3 July 20th 04 04:42 PM
"On Error Resume Next" Question Jim[_26_] Excel Programming 1 September 20th 03 07:38 PM


All times are GMT +1. The time now is 07:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"