Sorry. I dint mean to be harsh or say it dint work.. When I used the code provided it just executed with no error message and no output. I understand that this forum is to help others and people try to take out some time from their busy schedule to do this..
Let me explain my question more clearly..
Of the two files which I have I am trying to check if my file1 positions fall between file 2 ranges. If so I need to assign the file 2 position to my file1.