Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ok I am trying to raise my own error upto VBA function from my VB dll like
this: Err.Number = vbobjecterror + 100 Err.Source = CalculatePL Err.Description = "Array sizes do not match" GoTo Err_Handler .. .. .. Err_Handler: Err.Raise Err.Number, Err.Source, Err.Description But! it seems that Excel VBA uses Err.Number to show it's own Err description, not the one I set. I tried setting Err.Number to all kinds of values, but I was never able to show my custom description. Is there a workaround? Thanks Serge |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Getting an ActiveX error on save | Excel Discussion (Misc queries) | |||
error 336 (visual basic) ActiveX component not correctly registered | Excel Discussion (Misc queries) | |||
ActiveX error message | Excel Discussion (Misc queries) | |||
Raise numbers in the same proportion.. | Excel Discussion (Misc queries) | |||
Raise Values by 25% | Excel Discussion (Misc queries) |