| Dim ErrMsg, string GetLastError ErrMsg
 MessageBox ErrMsg
 : Hi,  : How do you obtain the error message when an error occurs...like the message : that gets written to a log when an error occurs?
 : Example: OnErrorGoTo NOTIFY_ADMIN : .
 : .
 : .
 : NOTIFY_ADMIN: Dim ErrMsg, string
 : Set ErrMsg, ???? <-- something that reveals the error that just occured.
 : MessageBox(ErrMsg)
 : I can't seem to find anything about a property or macro that holds this : value. Does one exist?
 : Thanks in advance, : Robert
 
 
 |