Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What am I doing wrong? The second time the sub CallMe is called, I get
the VB Runtime error instead of the error passing back to the calling procedure and being dealt with there. Thanks for your help. Sub test() Dim x As Integer On Error GoTo test_Error NEXTACCOUNT: For x = 1 To 10 callme Next Exit Sub test_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure test of Module Module1" Err.Clear GoTo NEXTACCOUNT End Sub Sub callme() Err.Raise 2500, "callme", "Testing" End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Raise numbers in the same proportion.. | Excel Discussion (Misc queries) | |||
Raise Values by 25% | Excel Discussion (Misc queries) | |||
Form Err.Raise error not trapped by entry procedure error handler | Excel Programming | |||
Raise Error from ActiveX dll to VBA | Excel Programming | |||
Does formatting raise an event | Excel Programming |