Sal Jel

The code you provided here works like a charm, and that’s exactly what I needed because the text will have several lines between Cat1 and Dog1. You added the code (1,10) for the max of 10 lines. Is there a limit to how many lines it can search. (i.e 100 lines?). Thank you for the code you provided I really appreciate it.