The Next statements should be outside of the block If (after the End If). Can you post an example you have tried with the three Next statements outside of the block If? It should work, unless there is something else I am missing.