I've made a procedure that creates a directory structure according to a textfile. It works perfectly fine, except there are some files that it can't create (long story).

I've built an error handler to record which files can't be made and then to continue building the rest of the files, but the problem is that when an error occurs the first time, it is recorded fine but the next time an error occurs, VB
pops up a runtime error instead of going to MockErr1.
How can I solve this so that it will always go to MockErr1?

Here's part of the code
VB Code:
  1. Private Sub MakeIt()
  2. On Error GoTo MockErr1 'This is for stubborn filenames
  3.             Open App.Path & "\Mock Systems\" & lstTrees.Text & "\" & Trees(i) For Output As #90 'Create the file
  4.             Print #90, "Blah"
  5.             Close #90
  6. Exit Sub
  7. MockErr:
  8. MsgBox Err.Description
  9. MockErr1:
  10. 'Error occured during construction of dir structure
  11. Open App.Path & "\Mock Systems\" & lstTrees.Text & "\Err.txt" For Append As #78
  12. Print #78, "'" & Err.Description & "' {" & Err.Number & "}" & " [" & Trees(i) & "]"
  13. Close #78
  14. Err.Clear
  15. GoTo DoStats
  16. End Sub