You can either:
1. disable that particular statement by putting a single quote at the beginning of that statement, or
2. bypass the error by inserting this statement before this line:
On Error Resume Next
Alternatively, you can show us a few more line of your code so we can try to figure out why it cause the error.