on error resume next throwing "expected exception" error

Viewed 7

I have a chunk of code that makes files and folders for the upcoming year. if there already there it stops the code. figured I could put a on error resume next. without having to make a whole bunch of "if then else" instances. yet, when "on error resume next" is put in a box is popping up saying. compile error: expected: expression.

0 Answers
Related