Thats great. Thanks very much.

I did actually try to rtfm, but couldn't find it. I 'thought' i'd used a macro before to read the parameters but am possibly thinking of a method in vbscript.

Anyway, that'll do it.