One last thing everyone, I added the for loop in but since the file can sometimes be very small and sometimes it can be very large I put in:
[VBA]
For I = 1 to 65556
[/VBA]
This way it always looks at the whole file. I would like to speed it up since I am using that code in a few times. I know it is possible to count the amount of rows and then use that number to replace 65556 but I don't know how. Sorry, if I am being a pest but I am a beginner at VBA and I have 2 books on it that are good but they are both missing alot. If anyone can recommend an excellent book that has a lot of VBA code in it that would help also.
Daniel