Let's say I have code like this:
For Each cell1 In range_vals
For Each cell2 In range_pred
If (cell1 = cell2) Then
//Do something
End If
Next cell1
Next cell2
But what I want to do is iterate through both cell ranges at the same time and this ranges are of the length, like this:
For Each cell1, cell2 In range_vals, range_pred
If (cell1 = cell2) Then
//Do something
End If
Next cell1, cell2
I know this can be done in python, however I'm struggling with doing it in VBA.