Better would be:
VBA keeps the length of each string embedded at the beginning of each string. So finding the length of a string is easy for VBA and is faster than comparing it to a zero length string. Also, 0 = False, anything else = True. Thus:
Is better than If Len(FindString) > 0 Then[/CODE]
Now, about the following:
Here you should just have:
Now, instead of:
You should have:
Assuming that this range's worksheet is active, if not then:
Then:
There is no need to goto the location of Rng in order to use the location of Rng.
Bookmarks