I would like to output an error code to the immediate window, however the following code does not work what am I doing wrong.
I placed the following code in the on error event but nothing is output to the immediate window.
Debug.Print "DataErr = "; DataErr
I placed the following code in the on error event but nothing is output to the immediate window.
Debug.Print "DataErr = "; DataErr