I have written the following code I want to break the loop of m, but want to continue the loop of i if the (if) statement returns true
For i = 7 To lastrow
    For m = 33 To 37
        If IsNumeric(mmk.Sheets("FG").Cells(i, m)) = True Then
            quote(i, m) = mmk.Sheets("FG").Cells(i, m)
        End If
        If quote(i, m) <> Empty And quote(i, m) <> 0 And quote(i, m) > 0 Then
            row(i, m) = i
        End If
       row1(i) = row(i, m)
       If row1(i) <> Empty And row1(i) <> 0 And row1(i) > 0 Then
           mmk.Sheets("FG").Rows(row1(i)).Select
           Selection.Copy
           wrk.Activate
           wrk.Sheets("Nego").Activate
           With ActiveSheet
               last1 = .Cells(.Rows.Count, "A").End(xlUp).row
           End With
           wrk.Sheets("Nego").Cells(last1 + 1, 1).Select
           ActiveSheet.Paste
           Exit For
           Next i
        Else
           Next m
           Next i
        End If
I want the outer loop to continue but the inner loop to break if the last if statement turns true
the problem is in the following expression
exit for
next i
 
     
    