je me pose une question et je trouve pas de réponse
je cherche a savoir s'il y a moyen de modifier la variable Error de la gestion des erreurs.
et faire un truc comme ça ( qui bien sur ne marche pas) : Error = Error + " : message en plus"
- Code : Tout sélectionner
Sub s
On Error GoTo CatchError
Error 9999,"Test"
Exit Sub
CatchError:
Error = Error + " : message en plus"
MsgBox "("+Structure_Log+" : "+Cstr(GetThreadInfo (1))+" Call by "+Cstr(GetThreadInfo(10))+")"+Chr(10)+"Error " + CStr(Err) + " : "+Chr(10) + CStr(Error)+". "+Chr(10)+"Line # "+Cstr(Erl),16," ERROR !"
Exit Sub
End Sub