Well here was my test:
I put "On Error GoTo Errores" at the start, change i =2 to i=152 so you don't have to wait so long, and I changed "Errores:
MsgBox (Err.Description)" to :
This told me that j was the maximum number of rows when the error happened, and j+1 as a row number does not exist. You want to modify your code so that the looping stops when the last row with data has been reached, because "Do Until Sheets(Equipo).Cells(j, 1) & Sheets(Equipo).Cells(j, 2) = F_termino" will never stop if the cell never matches the value of F_termino
Bookmarks