Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 69
Default On Error Goto ... Error

Hi.
I met something strange.
I have 25+ procedures in one module.
Each of them is built as

Sub name
On Error goto ErrHandler
...
exit sub
ErrHandler:
...
end sub




I've started receiving error "Bad DLL calling convention" on exit sub line.
When I renamed ErrHandler to ErrHandler1 ... ErrHandler25, to have
unique name of error handlers for each procedure everything went back to
normal.
Did it happen to anybody? Is there any internal limit in Excel? Another
internal structure without limit checking?


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
Error Handling - On Error GoTo doesn't trap error successfully David Excel Programming 9 February 16th 06 05:59 PM
On Error GoTo If Jean-Jerome Doucet via OfficeKB.com Excel Programming 7 June 22nd 05 08:27 PM
ON Error goto fails on 2nd error BAC Excel Programming 4 March 15th 05 09:03 PM
On Error GoTo benb Excel Programming 3 January 5th 05 01:15 AM
How can I still go to the error-code after a On Error Goto? Michel[_3_] Excel Programming 2 May 4th 04 04:21 AM


All times are GMT +1. The time now is 04:50 PM.

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"