In reply to Chris Hemedinger.

Hi Chris, that would you very useful.can you advise how I might go about doing that?

It is probably worth adding that I use EG remotely via client software.and so installing an add-on such as the Sas macro viewer custom task mentioned above may not be possible.thanks, Phil