excel - How to Trigger a Error from a VBA function -
I need to trigger an error event from the VBA function, then the function of this function can turn on the error error Go to call eg
Go to Error Error: TestErr () Function Exit Afghanistan: Test = "Error Trigger" End Function Function TestErr () ?? How to trigger error here is the function
thanks
Err .Raise 5, "Alternate Error Source", "Alternate Error Details"
MSDN Reference
Comments
Post a Comment