hi,
I need to trigger(return) an error event from a VBA function, then the calling function of this function can trigger On Error Go to call. E.g
function Test()
On Error Go to myError:
TestErr()
Exit Function
myerror:
Test = "Error Triggered"
End Function
Function TestErr()
?? 'How to Trigger error here
End Function
Thank You