I want to insert error handler part for my new program but I don't know how to insert err.numbers for my new part. And what are the err.numbers and descriptions I can insert for this?
My coding is.......
My coding is.......
Code:
Public Function MessageShow(err As ErrObject) If [B]err.Number = -2147467259[/B] Then MsgBox "NO NETWORK CONNECTION" ElseIf [B]err.Number = 424[/B] Then MsgBox "A missing object in your form is needed!, Please refer to the code and arrange accordingly!" elseif....... elseif....... elseif....... ??????? Else MsgBox err.Description End If End Function
Comment