I want to search for a word and delete the entire line if the word is found. Please let me know how to do that.

Thanks!

Thanks very much for the speedy response! I still have two issues. In the example that you answered with, it does not do all that it states. If you try it, it deletes all of the first two lines but not all of the last occurance. Strange.