Thanks everyone, that has given me some great ideas. I think refactoring is clearly the way to go, and - at least - I now know how to search for the terms in the source code.

Cheers
Andy