I have a test script that I am using to deal with an issue but getting some very odd results. I have a nested loop and the inner loop exits if a variable is the same as another. It works the first time but when the second loop starts, it ignores the Exit If - I know the variables are right because I can see them in the data viewer and these variables respond correctly to the set field above. Any ideas? File with script attached.