acollier21
New Member
- Joined
- Oct 13, 2010
- Messages
- 7
Hi All,
I have some error trapping that I've been using that has worked great in the past, but for some reason, it suddenly stopped working. I had to add in some code and I always make sure to use On Error Goto 0 to disable the trap I just set.
Towards the end of my macro, there's a line of code I'm using to make a directory. I use On Error Resume Next and then I type my Mkdir line and close it off with on error goto 0. However, the error still comes up even though I did error trapping. I used the exact same code in a macro just by itself and it worked fine.
Is there something I'm missing or some error trap I didn't close properly that would cause this to happen? Any help is appreciated. Thanks so much!
I have some error trapping that I've been using that has worked great in the past, but for some reason, it suddenly stopped working. I had to add in some code and I always make sure to use On Error Goto 0 to disable the trap I just set.
Towards the end of my macro, there's a line of code I'm using to make a directory. I use On Error Resume Next and then I type my Mkdir line and close it off with on error goto 0. However, the error still comes up even though I did error trapping. I used the exact same code in a macro just by itself and it worked fine.
Is there something I'm missing or some error trap I didn't close properly that would cause this to happen? Any help is appreciated. Thanks so much!