Hi Chris,
Thanks again for that info ... I will give it a try later today.
I didn't used the word "type" between the "Invoke" and "Marshal" which is probably why I was getting verb/operand unrecognised errors.
I'll let you know how I get on with using the code you provided.
John