LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 75
Default Can I place "On Error GOTO xxx" into module level?

Hi all,

Just have a question.

I have developed so many subroutines in many modules of a workbook,
including an error handling procedure which handles any unhandled errors..
Instead of writing an error-handling routine within all subroutines, is it
possible to write an error-handling routines once in a workbook so as to
apply to all other subroutines?

By the way, is there a syntax something like "On Error GoTo <Subroutine" or
"On Error GoSub ... " in VBA?

Thanks a lot.

Frederick Chow


 
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
Question on "On Error GoTo skip" dan Excel Discussion (Misc queries) 2 July 1st 07 10:48 PM
Newbie Q: What does "On error goto 0" mean? *¡¸ My-Ricky ¡¸* Excel Programming 2 August 7th 05 02:29 PM
Subroutine vs GOTO "On Error" Bob Phillips[_6_] Excel Programming 0 July 14th 05 10:12 PM
Subroutine vs GOTO "On Error" Jim Thomlinson[_4_] Excel Programming 0 July 14th 05 09:28 PM
Subroutine vs GOTO "On Error" K Dales[_2_] Excel Programming 0 July 14th 05 09:21 PM


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

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

About Us

"It's about Microsoft Excel"