The code I'm writing looks something like this
Will that Exit For statement inside the cRange2 Loop cause just the cRange2 loop to terminate or both loops to terminate?Dim ws As Worksheet Dim cRange1 As Range Dim cRange2 As Range Set ws=Worksheets("Test") For Each cRange1 In ws.Range("A1:J10") For Each cRange2 In ws.Range("A1:A10") If cRange2.Value=WorksheetFunction.SMALL("A1:A10",1) Then Exit For End If Next cRange2 Next cRange1
Bookmarks