txtMIRActivity.Value = txtMIRActivity.Value & vbnewline & srcfile
Something like so?
strongly suggest you add a DoEvents command after that line to ensure it keeps updating on screen, otherwize if you have many files the screen will freeze up.
Not sure whats wrong with your "Error file trap" does your textLine contain A02 at that point?
You can add a STOP command just before the if to force the code to stop there so you can validate your textLine
Something like so?
strongly suggest you add a DoEvents command after that line to ensure it keeps updating on screen, otherwize if you have many files the screen will freeze up.
Not sure whats wrong with your "Error file trap" does your textLine contain A02 at that point?
You can add a STOP command just before the if to force the code to stop there so you can validate your textLine