In one of my Excel workbooks, I created a macro containing the following lines:
On Error GoTo saltaw Open fileout For Output As
However, if the fileout contains some invalid characters (for example, "\"), the macro stops and the "Runtime Error" 76: Path not found error window appears, as if the on error goto exist. The same, if you substitute on error goto on on error resume next . The macro stops on the next line. Why?
excel-vba error-handling
tic
source share